forked from TheEnigmaBlade/leagueoflegends-css
-
Notifications
You must be signed in to change notification settings - Fork 0
/
theme.less
142 lines (114 loc) · 2.22 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
/*!
* Hello!
* This theme was compiled from LESS. You can find that version here:
* https://github.com/TheEnigmaBlade/leagueoflegends-CSS
*/
@import (reference) "style";
//*******
// Page *
//*******
html {
overflow-x: hidden;
}
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;
}
// Fog/mist animations
html:not(:lang(na)) & {
&::before {
content: "";
width: 100%;
height: 400px;
position: absolute;
left: 0;
top: 0;
background-image: url(%%fog%%);
background-size: auto 400px;
background-position: 0 0;
opacity: 0;
//transform: translate3d(0, 0, 0);
animation: mist 120s linear infinite;
}
.footer-parent::before {
content: "";
width: 100%;
height: 200px;
position: absolute;
left: 0;
top: 0;
z-index: 0;
background-image: url(%%mist%%);
background-size: 5760px 250px;
background-position: 0 0;
opacity: 0;
//transform: translate3d(0, 0, 0);
animation: mist 160s linear infinite;
}
}
}
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";
//#baconBit {
//TODO
//}
// Footer
.footer {
background: none;
border: none;
border-radius: 0;
}
//********
// Modes *
//********
/*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;
}
}
}*/
//***********
// Includes *
//***********
@import "markdown";
@import "mod";
@import "res-fixes";
@import "darkmode";
@import "flair";
@import "flair-darkmode";
@import "animations";
/*! AUTO-GENERATED AFTER THIS POINT - DO NOT EDIT */