-
Notifications
You must be signed in to change notification settings - Fork 1
/
stylesh.css
136 lines (117 loc) · 2.1 KB
/
stylesh.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
body {
font-family: Arial, sans-serif;
font-size: 1em;
margin: 0;
padding: 0;
background: linear-gradient(to bottom, #444, #111);
color: #fff;
}
.container {
max-width: 800px;
min-width: 50%;
margin: 0 auto;
padding: 10px;
}
header {
text-align: center;
}
.banner {
width: 100%;
height: auto;
border-radius: 8px;
}
nav {
background-color: #222;
border-radius: 8px;
border-top: 1px solid #444;
border-bottom: 1px solid #444;
}
.nav {
list-style: none;
padding: 0;
margin: 0;
display: flex;
border-radius: 8px;
justify-content: space-around;
background: linear-gradient(to bottom, #333, #111);
}
.nav > li {
position: relative;
}
.nav a {
display: block;
padding: 15px;
color: #fff;
text-decoration: none;
text-shadow: 1px 1px 2px #000;
border-radius: 5px;
}
.nav a:hover {
background: #555;
}
.dropdown {
display: none;
position: absolute;
top: 100%;
left: 0;
background: #222;
list-style: none;
padding: 0;
margin: 0;
}
.dropdown li a {
padding: 10px;
box-shadow: none;
border-radius: 0;
}
.nav > li:hover .dropdown {
display: block;
}
main {
padding: 20px 0;
font-size: 1em;
text-align: center;
}
.content-block {
display: flex;
margin-bottom: 20px;
margin-top: 20px;
flex-wrap: wrap;
justify-content: center;
}
.test {
text-decoration: none;
color: #FFF;
}
.content-block img {
width: 300px;
height: auto;
margin-right: 20px;
border: 1px solid #555;
border-radius: 8px;
}
.content-block p {
min-width: 280px;
flex: 1;
text-align: justify;
}
footer {
text-align: center;
padding: 10px 0;
border-top: 1px solid #444;
font-size: 0.7rem;
}
footer ul {
list-style: none;
padding: 0;
margin: 0;
display: flex;
justify-content: center;
}
footer ul li {
margin: 0 10px;
}
footer ul li a {
color: #fff;
text-decoration: none;
}