-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.css
65 lines (62 loc) · 977 Bytes
/
main.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
body{
font-family:Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
background-color: whitesmoke;
}
main{
width: 800px;
display: inline-block;
margin-left: calc((100%-800px) /2);
}
header{
display: inline-block;
width: 100%;
margin-top: 5px;
}
header>img{
float: left;
height: 35px;
}
nav{
margin-top: 5px;
float: right;
}
a{
text-decoration: none;
color: #292345;
font-size: 16px;
line-height: 20px;
margin-left: 55px;
padding-top: 5px;
padding-bottom: 5px;
padding-left: 20px;
padding-right: 20px;
float: left;
border-radius: 5px ;
}
a+a{margin-left: 0px;
}
a:hover{
color: #FFAF00;
}
section{
display: inline-block;
width: 100%;
}
div{
float: left;
width: 44%;
color: #2D244B;
margin-top: 120px;
}
section>img{
float: right;
width: 50%;
}
h1{
font-size: 35px;
margin: 22px;
}
p{
margin: 35px;
font-size: 18px;
}