-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrandom.css
178 lines (178 loc) · 3.1 KB
/
random.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
body {
margin : 0;
}
* {
font-family: "Hahmlet", serif;
}
.all {
display: flex;
flex-direction: column;
min-height: 100vh;
}
.header {
background-color: rgb(227, 241, 254);
padding: 30px;
}
.header img{
position: relative;
width: 130px;
left: 50%;
transform: translate(-50%);
}
.nav {
background-color: rgb(44, 44, 44);
padding: 10px;
text-align: center
}
.nav a {
text-decoration: none;
font-weight: 500;
font-size: 1.1em;
color: white;
padding: 10px 30px 10px 30px;
}
.nav a:hover {
background-color:rgb(227, 241, 254);
color: black;
}
.playdd, .fooddd, .transdd, .commdd {
display: inline-block;
position: relative;
}
.playdd-contents {
display: none;
position: absolute;
margin-top: 10px;
margin-left: -25px;
z-index: 1;
}
.fooddd-contents, .transdd-contents, .commdd-contents {
display: none;
position: absolute;
margin-top: 10px;
margin-left: -50px;
z-index: 1;
}
.playdd:hover .playdd-contents, .fooddd:hover .fooddd-contents, .transdd:hover .transdd-contents, .commdd:hover .commdd-contents {
display: block;
font-weight: 700;
background-color: rgb(44, 44, 44);
border-radius: 0 0 3% 3%;
}
.playdd-contents a {
display: block;
width: 100px;
}
.fooddd-contents a, .transdd-contents a {
display: block;
width: 150px;
}
.commdd-contents a {
display: block;
width: 190px;
}
.main {
display: flex;
flex-direction: row;
margin: 10px 20px;
flex: 1;
}
#aside {
flex: 18%;
padding: 10px;
}
#notlogin-state {
width: 200px;
}
#notlogin-state input {
margin : 5px;
}
#login-state {
display: none;
}
#notlogin-state {
display: block;
}
.menu {
background-color: aliceblue;
margin: 30px 20px 15px 0;
padding: 10px 0px;
border: 1px solid gray;
border-radius: 10%;
}
.menu b {
margin-bottom: 100px;
}
.menu li {
list-style-type: none;
}
.menu a {
text-decoration: none;
color: black;
line-height: 30px;
}
#article {
flex: 70%;
border: 1px solid gray;
margin: 10px;
padding: 15px;
text-align: center;
}
#article img {
width: 180px;
margin: 20px 50%;
transform: translateX(-50%);
}
#ads {
flex: 12%;
margin: 10px;
padding: 0 20px;
position: relative;
text-align: center;
height: 220px;
}
#ads img {
width: 180px;
height: auto;
transition: filter 0.2s;
}
#adstext {
position: absolute;
top: 45px;
left: 52px;
color: white;
z-index: 1;
text-align: center;
font-weight: bold;
opacity: 0;
font-size: large;
line-height: 33px;
}
#adstext span {
background-color: rgb(54, 54, 54);
padding: 3px 7px;
border-radius: 3px;
}
#ads:hover #adsimg {
filter: blur(3px);
opacity: 0.8;
}
#ads:hover #adstext {
opacity: 1;
}
.footer {
left: 0;
bottom: 0;
background-color: gray;
width: 100%;
height: 50px;
color: white;
text-align: center;
font-size: smaller;
padding-top: 10px;
line-height: 20px;
opacity: 80%;
}
.footer span:hover {
text-decoration: underline;
}