-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
97 lines (76 loc) · 1.1 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
/*General rules*/
body {
margin: 0;
padding: 0;
width: 70%;
min-height: 100%;
margin: auto;
}
section {
width: 100%;
height: 100%;
}
/*Titles rules*/
h1, h3 {
font-size: 1.5em;
}
h2 {
font-size: 2em;
}
h3 {
border-bottom: 3px solid #9ee493;
width: 50%;
}
h4 {
color: #2f4858;
font-weight: bold;
}
/*Shared rules*/
header p, .info {
font-style: italic;
}
header section, .container h2 {
text-align: center;
}
header {
background-color: #2f4858;
color: white;
}
header aside, header section, section aside, .container {
display: inline-block;
}
header aside, header section {
vertical-align: middle;
}
section aside, .container {
vertical-align: top;
}
/*Particular rules*/
header section {
width: 55%;
}
img {
width: 60%;
}
section aside {
background-color: #86bbd8;
width: 24%;
height: 920px;
padding-left: 1em;
border-top: 5px solid #9ee493;
}
section aside ul {
list-style-type: none;
}
section aside li {
margin: 5% 0;
}
.container {
width: 71.5%;
padding-left: 1em;
background-color: #faf8f8;
}
article {
width: 100%;
margin: 5% 0;
}