-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.css
66 lines (61 loc) · 1.01 KB
/
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
66
@import url('https://fonts.googleapis.com/css?family=Kaushan+Script');
*,*:before, *:after {
box-sizing: border-box;
}
body {
padding: 0;
margin: 0;
font-family: 'Kaushan Script', cursive;
}
header {
margin:0;
}
header h1 {
background-color: #6B95B0;
padding: 1em;
margin:0;
}
header nav {
display: block;
float: right;
border: solid
}
header nav a {
display: block;
text-decoration: none;
padding: 14px 16px;
float: left;
color: black;
font-size: 1em;
text-align: center;
font-size: 24px;
}
header nav a:hover {
background-color: #4C7997;
}
section {
position: relative;
margin: 0;
min-height: 600px;
display: grid;
grid-template-columns: 40% 20% 40%;
}
article {
padding:0 1em;
margin-top: 0;
border: solid 1px grey;
margin: 1em;
}
.centerPic {
text-align: center;
padding: 1em;
}
.centerPic img {
width:90%;
height: auto;
}
footer {
background-color: #6B95B0;
margin: 0;
padding: 1em;
}