forked from eliottvincent/bay
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_layout.scss
164 lines (136 loc) · 2.5 KB
/
_layout.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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
/**
* Site header
*/
.site-header {
border-bottom: 1px solid $grey-color-light;
min-height: 56px;
padding-top: 10px;
padding-bottom: 10px;
@include media-query($on-mobile) {
padding-top: 0;
padding-bottom: 0;
}
// Positioning context for the mobile navigation icon
position: relative;
}
.site-title {
font-size: 26px;
line-height: 56px;
letter-spacing: -1px;
float: left;
img {
height: 28px;
}
&,
&:visited {
color: $grey-color-dark;
}
}
/**
* Site nav
*/
.site-nav {
z-index: 10;
float: right;
line-height: 56px;
.menu-icon {
display: none;
}
.page-link {
color: $text-color;
line-height: $base-line-height;
// Gaps between nav items, but not on the first one
&:not(:first-child) {
margin-left: 20px;
}
}
@include media-query($on-mobile) {
position: absolute;
top: 12px;
right: 24px;
border: 1px solid $grey-color-light;
border-radius: 5px;
text-align: right;
.menu-icon {
display: block;
float: right;
width: 36px;
height: 26px;
line-height: 0;
padding-top: 4px;
text-align: center;
background: #ffffff url($base-url + '/assets/img/menu.png') 6px 4px no-repeat;
background-size: 26px 26px;
}
.menu {
clear: both;
display: none;
background-color: #ffffff;
min-width: 10em;
padding-bottom: 5px;
}
.page-link {
font-size: 16px;
display: block;
padding: 6px 16px;
}
}
}
/**
* Site footer
*/
.site-footer {
border-top: 1px solid $grey-color-light;
padding: $spacing-unit 0;
@include media-query($on-mobile) {
padding-top: 10px;
}
}
.footer-heading {
font-size: 18px;
margin-bottom: $spacing-unit / 2;
}
.contact-list,
.social-media-list {
list-style: none;
margin-left: 0;
}
.footer-col-wrapper {
font-size: 15px;
color: $grey-color;
margin-left: -$spacing-unit / 2;
@extend %clearfix;
}
.footer-col {
float: left;
margin-bottom: $spacing-unit / 2;
padding-left: $spacing-unit / 2;
}
.footer-col-1,
.footer-col-2,
.footer-col-3 {
width: -webkit-calc(33% - (#{$spacing-unit} / 2));
width: calc(33% - (#{$spacing-unit} / 2));
}
.follow-links > .social-link {
flex: 0 50%;
}
.powered-by {
font-size: 13px !important;
color: $grey-color;
}
@include media-query($on-mobile) {
.footer-col {
float: none;
width: 100%;
}
}
/**
* Page content
*/
.page-content {
padding: $spacing-unit 0;
}
.page-heading {
font-size: 20px;
}