forked from Johndbm/html-hello
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
79 lines (76 loc) · 1.28 KB
/
styles.css
File metadata and controls
79 lines (76 loc) · 1.28 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
67
68
69
70
71
72
73
74
75
76
77
78
79
body{
background: lightgrey;
font-family: 'Roboto', sans-serif;
margin: 0;
}
div {
box-sizing: border-box;
}
.head-header img{
width: 50px;
height: 50px;
margin-right: 10px;
padding-top: 10px;
display: inline-block;
}
header{
background-color: white;
padding: 10px;
}
header h1{
position: relative;
margin: 0;
margin-top: -30px;
display: inline-block;
width: 85%;
}
div.post{
background-color: white;
margin-top: 10px;
}
div.post .post-header div:first-child{
display: inline-block;
width: 80%;
background-color: white;
}
div.post .post-header div:last-child{
display: inline-block;
width: 20%;
background-color: white;
padding: 10px;
text-align: right;
color: grey;
}
div.post img{
width: 100%;
}
div.container{
width: 600px;
margin: auto;
}
div.post h2{
padding: 10px;
margin: 0;
}
div.post .post-bottom div:first-child{
display: inline-block;
width: 80%;
background-color: white;
}
div.post .post-bottom div:last-child{
width: 15%;
padding: 10px;
display: inline-block;
text-align: right;
cursor: pointer;
}
div.post p{
margin-left: 10px;
}
.hover-link svg {
fill: grey;
transition: fill;
}
.hover-link:hover svg {
fill: red;
}