-
Notifications
You must be signed in to change notification settings - Fork 0
/
layoutelement.css
80 lines (64 loc) · 938 Bytes
/
layoutelement.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
*{
box-sizing: border-box;
margin: 0;
padding: 0;
}
body{
font-family: Arial, Helvetica, sans-serif;
font-size: 15px;
line-height: 1.5em;
}
img{
max-width: 100%;
}
header{
background: #fadadd;
padding: 20px;
}
header img{
margin-top: 20px;
width: 250px;
margin: 0 auto;
display: block;
}
#main_menu{
list-style: none;
text-align: center;
}
#main_menu li{
display: inline-block;
margin: 0 5px 10px;
}
#main_menu a{
background: #e8336d;
font-size: 14px;
color: #fff;
padding: 5px 15px;
text-decoration: none;
}
section{
background: #cdeaff;
display: flex;
}
div{
padding: 20px;
width: 60%;
}
div h1{
margin-bottom: 20px;
}
aside{
padding: 20px;
width: 40%;
}
aside ul{
margin-left: 20px;
margin-top: 10px;
}
footer{
background: #eaffcd;
padding: 20px;
}
footer p {
font-size: 12px;
}