-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
109 lines (93 loc) · 1.41 KB
/
style.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
107
108
109
*{
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*/
.posts{
text-align: justify;
width: 80%;
margin: 50px auto 0 auto;
}
.posts p{
display: block;
margin-bottom: 30px;
}
.block{
display: inline-block;
width: 25%;
margin:40px;
text-decoration: none;
}
.block img{
width: 100%;
}
.margin{
padding-top: 50px;
}
main{
text-align: center;
}
#portfolio{
margin-bottom: 50px;
position: relative;
}
/*MAIN END*/
/*FOOTER END*/
footer{
background-color: grey;
text-align: center;
width: 100%;
position: relative;
bottom: 0;
}
span{
text-align: right;
position: absolute;
right: 0;
}
/*FOOTER END*/