forked from TheEnigmaBlade/leagueoflegends-css
-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.less
181 lines (137 loc) · 4.46 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
/****************
* 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}");
@search-width: @side-width - @search-padding * 2;
// Heights
@srbar-height: 18px;
@header-height: 150px;
@tabs-height: 40px;
@search-height: @tabs-height - @search-padding * 2;
// Positions
@tabs-top: @srbar-height + @header-height;
/********
* Style *
********/
// Images
@promo-img: "images/promo.jpg";
@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);
// Background
@bg-color: @color-dark-gray;
@bg-pos: 0 @srbar-height;
@bg-size: 100%;
@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: @color-white;
@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);
@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: @color-dark-gray;
@sticky-hover-color: lighten(@sticky-color, 10%);
@sticky-visited-color: @sticky-color;
// 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;
// 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
@announce-bg: @events-bg-alt;
@announce-bg-hover: @events-bg-hover;
@announce-color-hover: @color-white;
@announce-border-color: @side-border-color;
// Events
@events-bg: @color-black;
@events-bg-alt: lighten(@events-bg, 2%);
@events-bg-hover: lighten(@events-bg, 8%);
@events-color: @color-light-gray;
@events-link-color: @color-blue;
// 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);
/*******
* Text *
*******/
@side-user-text: "Challenger players";
@side-online-text: "losing LP";
@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.";
/********************
* Media query stuff *
********************/
@screen-lg: 1200px;
@screen-md: 992px;