forked from TheEnigmaBlade/leagueoflegends-css
-
Notifications
You must be signed in to change notification settings - Fork 0
/
announcements.less
85 lines (65 loc) · 1.29 KB
/
announcements.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
@import (reference) "style";
.side .md > h1 {
display: none;
@media all and (max-width: @announce-move-width) {
display: inherit;
}
}
.side .md > h1 + ol {
//width: 500px;
position: absolute;
top: 18px;
left: 8px;
z-index: 9000;
list-style-type: none;
background: none !important;
// Newsies
li {
//display: block;
//height: 26px;
margin: 4px 0;
padding: 4px 0;
// Normal
a {
padding: 4px 5px;
background-color: @announce-bg;
border: 1px solid @announce-border;
font-size: @announce-font-size;
color: @announce-color;
transition: color @transition-time ease;
&:hover {
color: @announce-hover-color;
}
}
// Live event
em a {
background-color: @announce-live-bg;
border-color: @announce-live-border;
font-size: @announce-live-font-size;
font-style: normal;
color: @announce-live-color;
&:hover {
color: @announce-live-hover-color;
}
}
// Big red warning
strong a {
font-weight: normal;
}
}
// Move to sidebar after it doesn't fit in the header
@media all and (max-width: @announce-move-width) {
width: 284px;
position: relative;
top: 0;
left: 8px;
li {
padding: 0;
}
li a {
display: inline-block;
width: 270px;
line-height: 16px;
}
}
}