-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_shame.scss
96 lines (84 loc) · 1.65 KB
/
_shame.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
/* Hall of shame
------------------------------------------------------------------------------------ */
/* WORDPRESS BLOG LAYOUT */
.blog-posts {
overflow:hidden;
.blog-post {
margin-bottom: 20px;
clear: left;
overflow: hidden;
img {
float: left;
margin-right: 10px;
width: 136px;
}
.blog-content {
overflow: hidden;
h2 {
margin-bottom: 4px;
}
p {
margin-bottom: 4px;
}
}
}
}
/* WORDPRESS MENU LAYOUT */
#pull {
background: url(../img/menu.png) no-repeat;
display: none; /* Turn off for desktop view */
height: 21px;
position: absolute;
right: 10px;
top: 10px;
width: 26px;
@media screen and (max-width: 890px) {
display: block; /* Turn on for mobile view */
}
}
.main-menu {
margin-left: 0;
position: absolute;
right: 0;
top: 10px;
@media screen and (max-width: 890px) {
position: static;
display: none;
}
li {
border-left: 1px solid #e2ddcd;
float: left;
line-height: 1;
list-style-type: none;
margin-left: 10px;
padding-left: 10px;
&:first-of-type {
border-left: none;
margin-left: 0;
padding-left: 0;
}
@media screen and (max-width: 890px) {
border: none;
float: none;
margin: 0;
padding: 0;
}
a {
color: $primary-color;
@media screen and (max-width: 890px) {
background-color: $primary-color;
border-bottom: 1px solid darken($primary-color, 5%);
border-top: 1px solid lighten($primary-color, 5%);
color: $white;
display: block;
padding: 0.5em 10px;
text-align: center;
}
}
a:hover,
&.current_page_item a {
color: $secondary-color;
text-decoration: none;
}
}
}