forked from holzmaster/userscripts
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.scss
More file actions
192 lines (160 loc) · 3.54 KB
/
Copy pathmain.scss
File metadata and controls
192 lines (160 loc) · 3.54 KB
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
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
---
# Only the main Sass file needs front matter (the dashes are enough)
---
@charset "utf-8";
// Our variables
$base-font-family: sans-serif, Helvetica, Arial;
$base-font-size: 14px;
$small-font-size: $base-font-size * 0.875;
$base-line-height: 1.3;
$spacing-unit: 30px;
$text-color: #f2f5f4;
$background-color: #161618;
$brand-color: #75c0c7;
$pr0-color: #ee4d2e;
$pr0-header-background: rgba(0, 0, 0, 0.8);
$pr0-headlink: #f5f7f6;
$article-background: #0a0a0b;
$article-background-links: #0e0e0f;
$footer-background: $article-background-links;
$grey-color: #666;
$grey-color-light: rgba(0, 0, 0, 0);/* lighten($grey-color, 40%); */
$grey-color-dark: darken($grey-color, 25%);
// Width of the content area
$content-width: 800px;
$on-palm: 600px;
$on-laptop: 800px;
$post-padding: 20px;
$post-padding-negative: -20px;
// Using media queries with like this:
// @include media-query($on-palm) {
// .wrapper {
// padding-right: $spacing-unit / 2;
// padding-left: $spacing-unit / 2;
// }
// }
@mixin media-query($device) {
@media screen and (max-width: $device) {
@content;
}
}
// Import partials from `sass_dir` (defaults to `_sass`)
@import
"base",
"layout",
"syntax-highlighting"
;
.icon--pr0gramm > img {
width: 16px;
height: 16px;
}
article h2 {
/* text-transform: uppercase; */
}
article h2 > small {
text-transform: none;
color: $grey-color;
}
.site-title {
text-transform: uppercase;
}
.site-header a {
color: $pr0-headlink;
}
.pr0-button {
font-weight: normal;
display: inline-block;
text-align: center;
padding: 8px 8px 6px;
margin: 0px;
color: $text-color;
cursor: pointer;
background-color: $pr0-color;
font-size: 12px;
&,
&:visited {
color: $text-color;
}
&:hover {
outline: medium none;
text-shadow: none;
color: #555;
background-color: #F5F7F6;
}
}
$pr0-schwuchtel: #ffffff;
$pr0-altschwuchtel: #5bb91c;
$pr0-neuschwuchtel: #e108e9;
$pr0-admin: #ff9900;
$pr0-gebannt: #444444;
$pr0-moderator: #008fff;
$pr0-ftb: #6c432b;
$pr0-legende: #1cb992;
$pr0-wichtel: #1cb992;
$pr0-spender: #1cb992;
$badge-color: #212121;
.user:after { content: "●"; margin-left: 0.4em; }
.um0:after { color: $pr0-schwuchtel; }
.um1:after { color: $pr0-neuschwuchtel; }
.um2:after { color: $pr0-altschwuchtel; }
.um3:after { color: $pr0-admin; }
.um4:after { color: $pr0-gebannt; }
.um5:after { color: $pr0-moderator; }
.um6:after { color: $pr0-ftb; }
.um7:after { color: $pr0-legende; }
.um8:after { color: $pr0-wichtel; }
.um9:after { color: $pr0-spender; }
.badge {
color: #FFF;
padding: 1px 6px;
margin-left: 5px;
vertical-align: baseline;
text-transform: lowercase;
text-align: center;
font-weight: bold;
border-radius: 0.25em;
font-size: 12px;
background-color: $badge-color;
}
article {
background-color: $article-background;
padding: $post-padding;
}
article .links > a {
margin-right: 10px;
}
.color-preview {
font-size: 12px;
font-family: monospace;
}
article li {
list-style: none;
text-indent: -1.5em;
padding-left: 1.5em;
&:before {
content: '– ';
}
}
.list-horizontal > li {
display: inline;
margin: 2px;
list-style: none;
&:before {
content: '';
}
}
.post-list > li {
margin-bottom: 10px;
}
.post-list > li .links {
margin-left: $post-padding-negative;
margin-right: $post-padding-negative;
margin-bottom: $post-padding-negative;
padding: 10px 0 10px 0;
padding-left: $post-padding;
padding-right: $post-padding;
background-color: $article-background-links;
}
.herzlol {
color: $pr0-color;
}