-
Notifications
You must be signed in to change notification settings - Fork 8
/
style.less
212 lines (164 loc) · 5.76 KB
/
style.less
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
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
/****************
* Reddit values *
****************/
@spacer-margin-top: 7px;
@spacer-margin-bottom: 12px;
/***************
* Construction *
***************/
@content-padding: 10px;
@search-padding: 6px;
// Widths
@side-width: 300px;
@side-border-space: 1px;
@content-padding-total: @content-padding * 2;
@consumed-content-width: @side-width + @side-border-space + @content-padding-total * 2;
@content-width: calc(~"100% - @{consumed-content-width}");
@tabs-width: calc(~"100% - @{content-padding-total}");
@tabs-form-width: calc(~"100% - @{content-padding-total} - @{content-padding}");
@search-width: @side-width - @search-padding * 2;
// Heights
@srbar-height: 18px;
@userbar-height: 27px;
@header-height: 180px;
@tabs-height: 40px;
@search-height: @tabs-height - @search-padding * 2;
// Positions
@tabs-top: @srbar-height + @header-height;
/********
* Style *
********/
// Images
@logo-img: "images/header-logo.png";
@promo-img: "images/promo.png";
@arrow-img: "images/arrows_top.png";
// Fonts
@header-font-family: "Helvetica","Arial",sans-serif;
// General
@font-family: arial,sans-serif;
@transition-time: 0.15s;
//@color-blue: rgb(0, 150, 255);
@color-blue: rgb(0, 130, 240);
@color-dark-gray: rgb(22, 22, 22);
@color-gray: lighten(@color-dark-gray, 8%);
@color-light-gray: rgb(150, 150, 150);
@color-white: rgb(246, 246, 246);
@color-superwhite: rgb(252, 252, 252);
@color-black: rgb(5, 5, 5);
@color-red: rgb(240, 50, 50);
@color-orange: rgb(240, 113, 50);
// Background
@bg-color: #090b18;
//@bg-pos: 100% (@srbar-height - 6px);
//@bg-size: calc(~"40% - -700px") auto;
//@bg-pos: 100% calc(~"30% - 170px");
//@bg-size: calc(~"75% - -200px") auto;
@bg-pos: 100% calc(~"10% - 220px");
@bg-size: calc(~"40% - -350px") auto;
//@bg-pos-ls: 100% calc(~"-20% - -70px");
//@bg-size-ls: calc(~"90% - -192px") auto;
@bg-pos-ls: @bg-pos;
@bg-size-ls: @bg-size;
@bg-dynamic: false;
// Subreddit bar
@srbar-bg: @color-dark-gray;
@srbar-border: @color-gray;
@srbar-color: @color-light-gray;
@srbar-alt-color: @color-blue;
// Tab bar
@tabs-bg: @color-dark-gray;
@tabs-color: @color-light-gray;
@tabs-selected-color: @color-white;
// Content
@content-bg: fade(@color-white, 96%);
@content-border-color: @color-gray;
@content-shadow-color: fade(black, 40%);
@content-text-bg: @color-superwhite;
@content-text-border: @color-light-gray;
@report-color: rgb(240, 100, 100);
//@moderator-color: rgb(34, 136, 34);
@moderator-color: rgb(0, 128, 57);
@submitter-color: rgb(0, 85, 223);
@admin-color: red;
@downvote-opacity: 0.5;
// Links
@link-color: @color-blue;
@link-hover-color: lighten(@link-color, 10%);
@link-visited-color: darken(@color-light-gray, 10%);
@sticky-color: @moderator-color;
@sticky-hover-color: lighten(@sticky-color, 10%);
@sticky-visited-color: @sticky-color;
@sticky-bg: tint(@moderator-color, 94%);
@sticky-separator-top: fade(darken(@content-bg, 15%), 50%);
@sticky-separator-bot: fade(lighten(@content-bg, 15%), 50%);
@thumbnail-spoiler-blur: 4px;
// Comments
@comment-lvl1-bg: @content-text-bg;
@comment-lvl2-bg: @color-white;
@comment-border: lighten(@color-light-gray, 20%);
@comment-hover-border: @color-light-gray;
// Sidebar
@side-bg: @color-black;
@side-border-color: @color-gray;
@side-color: @color-light-gray;
@side-highlight-color: @color-white;
@side-padding: 8px;
@side-header-bg: @color-dark-gray;
@side-header-color: lighten(@color-light-gray, 20%);
@side-header-size: 24px;
@side-header-height: 1.5em;
@side-md-top-margin: @side-padding + 6px;
@side-field-bg: @side-bg;
@side-field-border: lighten(@side-field-bg, 10%);
@side-field-color: @color-light-gray;
@side-button-bg: lighten(@events-bg, 2%);
@side-button-bg-hover: lighten(@events-bg, 8%);
@side-button-border-color: @side-border-color;
@side-button-color: @color-blue;
@side-button-color-hover: lighten(@side-button-color, 15%);
// Submit buttons
//@submit-bg: rgb(85, 54, 33);
//@submit-color: rgb(202, 181, 162);
@submit-bg: @color-gray;
@submit-border: @submit-bg;
@submit-color: @color-white;
@submit-hover-border: @color-blue;
@submit-hover-color: @color-blue;
// Announcments
//TODO
// Events
@events-bg: @color-black;
@events-bg-alt: @side-button-bg;
@events-bg-hover: @side-button-bg-hover;
@events-border-color: @side-border-color;
@events-color: @color-light-gray;
@events-link-color: @side-button-color;
// Mod stuff
@mod-remove-bg: rgb(206, 238, 252);
//@mod-buttons-color: rgb(170, 170, 170);
@mod-remove-color: rgb(240, 100, 100);
@mod-approve-color: rgb(100, 220, 100);
// Modes
@np-bg: rgb(160, 0, 0);
@np-color: @color-white;
@np-font-size: 14px;
/*******
* Text *
*******/
@side-user-text: "ADC S+ rankings";
@side-online-text: "support S+ rankings";
@downvote-message: "off-topic or does not contribute to discussion";
@no-results-message: "there don't seem to be any friends here";
@spoilers-message: "Hidden for spoilers";
@submit-flood-warning: "Submissions are temporarily disabled to prevent excessive flooding.";
@submit-rules-warning: "Please read subreddit rules before posting. Subscribe or hover to dismiss.";
@submit-type-select-message: "Remember to choose the correct post type!";
@submit-type-select-link-message: "Images must NOT be submitted as links.";
@submit-text-message: "You are submitting a text-based post. A title is required, but expanding further in the text field is not. Including 'upvote if' or 'don't upvote' is violation of Bandle City law.";
@edit-text-message: "Warning: Irrelevant edits are not allowed and will result in your post's removal.";
@np-message: "The usage of No Participation (NP) links is not endorsed on this subreddit, and they do not magically prevent bans for mass voting. Please read the rules and encourage others to read the rules to prevent issues accompaning vote manipulation.";
/********************
* Media query stuff *
********************/
@screen-lg: 1200px;
@screen-md: 992px;