-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
178 lines (146 loc) · 3.22 KB
/
style.css
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
html {
box-sizing: border-box;
margin: 0;
width: 100%;
height: 100%;
background-color: #f3f3f3;
}
*, *:before, *:after {
box-sizing: inherit;
}
body {
color: #333;
padding: 0;
margin: 0;
min-height: 100%;
font-family: 'Source Sans Pro', sans-serif;
}
.message p {
margin: 0 0 10px 0;
}
.section-title {
font-size: 32px;
color: #333;
margin-bottom: 10px;
}
.status-list {
margin-top: 10px;
width: calc(100% - 700px);
max-width: 1100px;
}
.news-list {
margin-top: 10px;
width: 700px;
max-width: 700px;
}
.region-block, .news-block {
background-color: #fff;
border: solid #aaa 1px;
border-radius: 2px;
box-shadow: 5px 5px 5px 0px rgba(0,0,0,0.25);
position: relative;
margin-bottom: 10px;
}
.region-block {
padding: 10px 10px 0 10px;
}
.region-block .block-header, .news-block .block-header {
width: 100%;
}
.region-block .block-header .region {
text-align: center;
font-size: 24px;
width: 80px;
line-height: 50px;
color: #555;
display: inline-block;
font-family: 'Source Code Pro', monospace;
text-transform: lowercase;
}
.region-block .block-header {
margin-bottom: 10px;
}
.news-block .block-header {
padding: 10px 0 10px 10px;
font-size: 20px;
}
.news-block .block-header .region {
padding-right: 5px;
margin-right: 5px;
text-transform: uppercase;
border-right: 2px solid #333;
font-weight: bold;
}
.region-block .block-header .status {
font-size: 24px;
margin-left: 10px;
line-height: 50px;
display: inline-block;
}
.region-block .block-header .region.status-degraded {
background-color: rgb(255, 217, 0);
}
.news-block .block-header.type-degraded {
background-color: rgb(255, 217, 0);
}
.region-block .block-header .status:after {
position: absolute;
right: 15px;
color: rgba(0, 0, 0, 0.25);
font-size: 35px;
font-family: 'Source Sans Pro', sans-serif;
}
.region-block .block-header .status.status-degraded:after {
content: 'ヾ(>Д<;)))';
}
.region-block .block-header .region.status-operational {
background-color: rgb(0, 255, 136);
}
.news-block .block-header.type-operational {
background-color: rgb(0, 255, 136);
}
.region-block .block-header .status.status-operational:after {
content: '(´∀`)';
}
.region-block .block-header .region.status-down {
background-color: rgb(255, 92, 42);
}
.news-block .block-header.type-down {
background-color: rgb(255, 92, 42);
}
.region-block .block-header .status.status-down:after {
content: '(´Д`。)';
}
.region-block .message, .news-block .message {
font-size: 18px;
}
.news-block .message {
padding: 10px 10px 0 10px;
}
.news-block .load-more {
text-align: center;
font-size: 25px;
line-height: 60px;
background-color: #f3f3f3;
color: #333;
cursor: pointer;
}
.news-block .load-more:hover {
background-color: #f6f6f6;
}
.container {
display: flex;
flex-direction: row;
gap: 10px;
vertical-align: middle;
padding: 0 20px 10px 20px;
}
@media(max-width: 1110px) {
.container {
flex-direction: column;
}
.status-list, .news-list {
width: 100%;
max-width: 1100px;
}
}