-
Notifications
You must be signed in to change notification settings - Fork 8
/
theme.less
149 lines (120 loc) · 2.42 KB
/
theme.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
/*!
* Hello!
* This theme was compiled from LESS. You can find that version here:
* https://github.com/TheEnigmaBlade/leagueoflegends-CSS
*
* To /r/LoL mods:
* Do not modify this stylesheet or upload images; changes will be (accidentally) reverted.
* If you do, Enigma will fuck yo shit up.
*/
@import (reference) "style";
//*******
// Page *
//*******
body {
color: @color-black;
background-image: url(%%bg%%) !important;
background-repeat: no-repeat;
background-color: @bg-color !important;
background-position: @bg-pos;
background-size: @bg-size;
& when (@bg-dynamic = true) {
background-attachment: fixed;
}
@media (orientation:portrait) {
background-position: @bg-pos-ls;
background-size: @bg-size-ls;
}
}
a,
.tagline a,
html.res-nightmode .res-nightmode a,
html.res-nightmode .res-nightmode a.option {
color: @color-blue;
}
textarea {
border: 1px solid rgb(211, 211, 211);
}
.link-transition {
transition: color @transition-time ease;
text-decoration: none !important;
}
//***************
// Page content *
//***************
@import "header";
@import "content";
@import "sidebar";
@import "announcements";
@import "events";
//#baconBit {
//TODO
//}
// Footer
.footer {
background: none;
border: none;
border-radius: 0;
}
//********
// Modes *
//********
// We don't like NP, so we'll complain about it to the user.
html:lang(np) {
div.content::before {
content: @np-message;
display: block;
margin-bottom: @content-padding;
padding: @content-padding;
background-color: @np-bg;
border: 1px solid black;
outline: 1px solid @np-bg;
color: @np-color;
font-size: @np-font-size;
}
}
/*html:lang(sf),
html:lang(sd) {
.thing.link.over18 {
.midcol,
.thumbnail,
.entry {
display: none;
}
&::before {
content: @spoilers-message;
margin-left: @content-padding;
color: darken(red, 10%);
font-size: 14px;
font-style: italic;
}
}
}*/
html:lang(sf) {
.link.linkflair-spoiler {
.midcol,
.thumbnail,
.entry {
display: none;
}
&::before {
content: @spoilers-message;
margin-left: @content-padding;
color: darken(red, 10%);
font-size: 14px;
font-style: italic;
}
}
}
//***********
// Includes *
//***********
@import "markdown";
@import "match-threads";
@import "mod";
@import "res-fixes";
@import "darkmode";
@import "flair";
@import "flair-darkmode";
@import "animations";
/*# AUTO-GENERATED AFTER THIS POINT - DO NOT EDIT #*/