-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
89 lines (72 loc) · 1.04 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: Helvetica Neue, Arial;
font-size: 18px;
}
h1,
h2 {
color: #00960b;
}
h1 {
font-size: 40px;
margin-bottom: 20px;
}
h2 {
font-size: 25px;
margin-bottom: 10px;
}
.container {
width: 1140px;
margin: 20px auto 20px auto;
}
.blog-post {
width: 75%;
float: left;
padding-right: 30px;
position: relative;
}
.date {
position: absolute;
top: 10px;
right: 30px;
}
.main-text {
text-align: justify;
margin-bottom: 20px;
}
.blog-post img {
height: 150px;
width: auto;
}
.other-posts {
width: 25%;
float: left;
}
.other {
margin-bottom: 40px;
}
.author-box {
padding-top: 20px;
border-top: 1px solid #808080;
}
.author-box img {
height: 100px;
width: 100px;
border-radius: 50%;
float: left;
}
.author-text {
font-size: 22px;
float: left;
margin-top: 30px;
margin-left: 10px;
}
.clearfix:after {
content: "";
display: table;
clear: both;
}