-
Notifications
You must be signed in to change notification settings - Fork 10
/
hw1.css
74 lines (63 loc) · 1.03 KB
/
hw1.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
body {
margin: 1%;
padding: 1%;
background: #ffffff;
}
header {
background: #B7BF96;
background-image: url(../images/flywheel.jpg);
}
nav {
margin: 1%;
padding: 2%;
text-align: center;
}
nav a {
display: inline-block;
text-decoration: none;
text-align: center;
width: 20%;
height: 40px;
border-radius: 5%;
background-color: rgba(255, 255, 255, 0.3);
opacity: 0.6;
padding-top: 20px;
margin-right: 10px;
}
.active {
background-color: white;
}
.left {
background-color: #717E16;
background: ;
width: 23%;
float: left;
}
.right {
background: #ffffff;
width: 64%;
padding: 5px 20px;
float: left;
}
h1 {
color: #ffffff;
text-transform: uppercase;
text-align: center;
font-size: 200%;
}
h2 {
color: #514644;
text-transform: uppercase;
}
section {
background: rgba(255, 255, 255, 0);
}
img {
width: 250px;
display: block;
border: #000000 2px solid;
margin: 30px auto;
}
a {
color: #000000;
}