-
Notifications
You must be signed in to change notification settings - Fork 0
/
style2.css
92 lines (78 loc) · 1.21 KB
/
style2.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
*{
margin:0;
padding: 0;
box-sizing: border-box;
/*border: 1px solid black;*/
font-family: 'Open Sans', sans-serif;
}
body{
background-color: lightgrey;
}
/*HEADER START*/
header{
width: 100%;
position: fixed;
top: 0;
background-color:grey;
height: 50px;
z-index: 1;
}
#logo p{
font-family: 'Cedarville Cursive', cursive;
font-size: 225%;
}
#logo a{
text-decoration: none;
color: black;
}
#logo{
display: inline-block;
}
nav{
display: inline-block;
text-align: center;
position: absolute;
right: 5%;
text-transform: uppercase;
}
li{
display: inline-block;
height: 50px;
width: 100px;
line-height: 50px;
color:white;
}
li:hover{
color:blue;
background-color: darkgrey;
}
/*HEADER END*/
/*MAIN START*/
main{
text-align: center;
}
#portfolio{
margin-bottom: 50px;
position: relative;
}
#credits{
margin: 100px;
}
#credits section article{
margin: 30px;
}
/*MAIN END*/
/*FOOTER END*/
footer{
background-color: grey;
text-align: center;
width: 100%;
position: absolute;
bottom: 0;
}
span{
text-align: right;
position: absolute;
right: 0;
}
/*FOOTER END*/