-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathstyle.css
More file actions
67 lines (56 loc) · 1.04 KB
/
style.css
File metadata and controls
67 lines (56 loc) · 1.04 KB
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
/*Add padding and margin to space out the page.
Make the font larger too.*/
body{
margin:1%;
font-size:125%;
}
/*Make the h1 heading bigger with a bold font*/
h1{
font-size: 2em;
font-weight: bold;
}
.active{
background: white;
text-transform: uppercase;
text-align: center;
}
.active a{
text-decoration: none;;
}
/*Style the images*/
img{
height: 150px;
width:auto;
border: 3px solid blue;
padding: 25px;
border-radius: 20px;
margin: 5px;
margin-left: 10%
}
/*Make the h2 heading match h1*/
h2{
font-size: 2em;
font-weight: bold;
}
/*Improve the spacing for paragraphs AND headings*/
p, h1, h2 {
padding: 10px;
}
/*Add borders around the main components and some
space too*/
header, nav, main, footer{
border: 3px solid red;
margin: 10px 0;
}
/*Change the styling for all of the list
items in the nav section*/
nav ul li{
background-color: #ECFF4D;
padding:10px;
width:25%;
border:1px solid black;
display: inline-block;
width: 20%;
}
/*Added this so the links stay the same color*/
a:visited{color:#0000FF}