-
Notifications
You must be signed in to change notification settings - Fork 1
/
style.scss
175 lines (140 loc) · 2.69 KB
/
style.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
165
166
167
168
169
170
171
172
173
174
175
---
---
//
// IMPORTS
//
@import "reset";
@import "variables";
// Syntax highlighting @import is at the bottom of this file
img.post-title {
width: 100%;
}
li.borderless {
border-top: 0 none;
border-bottom: 0 none;
border-left: 0 none;
border-right: 0 none;
}
// Fixes images in popup boxes from Google Translate
.gmnoprint img {
max-width: none;
}
// Nicolas Gallagher's micro clearfix hack
// http://nicolasgallagher.com/micro-clearfix-hack/
.clearfix:before,
.clearfix:after {
content: " ";
display: table;
}
.clearfix:after {
clear: both;
}
.wrapper-masthead {
margin-bottom: 10px;
}
.masthead {
padding: 10px 0;
border-bottom: 1px solid $lightGray;
@include mobile {
text-align: center;
}
}
.avatar-img {
max-width: 100%;
}
.site-avatar {
float: left;
width: 70px;
height: 70px;
margin-right: 15px;
@include mobile {
float: none;
display: block;
margin: 0 auto;
}
img {
border-radius: 5px;
}
}
.site-info {
float: left;
@include mobile {
float: none;
display: block;
margin: 0 auto;
}
}
.site-name {
margin: 0;
color: $darkGray;
cursor: pointer;
font-family: 'Gloria Hallelujah', cursive;
font-weight: 300;
font-size: 28px;
letter-spacing: 1px;
}
.site-description {
margin: -5px 0 0 0;
color: $gray;
font-size: 16px;
@include mobile {
margin: 3px 0;
}
}
nav {
float: right;
margin-top: 23px; // @TODO: Vertically middle align
font-family: $helveticaNeue;
font-size: 18px;
@include mobile {
float: none;
margin-top: 9px;
display: block;
font-size: 16px;
}
a {
margin-left: 20px;
color: $darkGray;
text-align: right;
font-weight: 300;
letter-spacing: 1px;
@include mobile {
margin: 0 10px;
color: $blue;
}
}
}
.wrapper-footer {
margin-top: 50px;
border-top: 1px solid #ddd;
border-bottom: 1px solid #ddd;
background-color: $lightGray;
}
footer {
padding: 20px 0;
text-align: center;
}
table {
border-collapse: collapse;
border-radius: 3px;
}
th, td {
text-align: left;
padding-left: 10px;
padding-right: 5px;
border-left: 1px solid #ddd;
border-right: 1px solid #ddd;
}
tr:nth-child(even){background-color: #f2f2f2}
tr:hover{background-color:#e2e2e2}
th {
background-color: #4CAF50;
color: white;
}
.unstripedtable tr:nth-child(even){background-color: white}
.unstripedtable tr:hover{background-color:#e2e2e2}
.unstripedtable td, th{padding-left: 10px; padding-right: 5px}
// Settled on moving the import of syntax highlighting to the bottom of the CSS
// ... Otherwise it really bloats up the top of the CSS file and makes it difficult to find the start
@import "highlights";
@import "svg-icons";