-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathhw1.css
106 lines (85 loc) · 1.51 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
body{
background:#B3B3B3;
margin:2%;
font-size: 125%;
padding:1%
}
header, footer{
background: #666666;
background: -moz-linear-gradient(top, #666666 0%, #00b7ea 100%);
background: -webkit-linear-gradient(#666666 0%, #00b7ea 100%);
background: -o-linear-gradient(#666666 0%, #00b7ea 100%);
background: linear-gradient(#666666 0%, #00b7ea 100%);
}
header{
text-align: center;
height:300px;
padding-top: 15px;
padding-bottom: 15px;
background-image: url("http://intro-webdesign.com/CSS/assignment-2/images/flywheel.jpg");
}
h1{
color: #ffffff;
}
nav{
font-variant: small-caps;
font-family: Arial, "Times New Roman", serif;
font-size: 150%;
}
nav a{
display: inline-block;
margin:0.2%;
border: 2px solid #696969;
border-radius: 25px;
text-decoration: underline;
padding:0.5%;
background-color: #ffffff;
width:15%;
}
h2{
color: #666666;
background: #00b7ea;
}
.half{
width:45%;
margin-right: 2%;
display:inline-block;
float:left;
}
.whole{
clear:both;
}
summary{
font-style:normal;
}
details{
font-style: italic;
}
footer{
height:150px;
clear: both;
}
img{
width: 75px;
border: 10px solid ;
padding: 15px;
display: block;
margin-left: auto%;
margin-right: auto%;
align :center;
}
a:link {
color: #FF0000;
}
/* visited link */
a:visited {
color: #8B008B;
}
/* mouse over link */
a:hover {
color: #32CD32;
}
/* selected link */
a:active {
color: #0000FF;
}