forked from Mohitkumar33/initial-html-project
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSTYLE.CSS
More file actions
123 lines (107 loc) · 1.61 KB
/
STYLE.CSS
File metadata and controls
123 lines (107 loc) · 1.61 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
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
110
111
112
113
114
115
116
117
118
119
120
121
*{margin: 0;
padding: 0;
box-sizing: border-box;
}
.clearfix:after {
content: "";
display: table;
clear: both;
}
h1,h2{
color: rgba(0, 128, 0, 0.95);
}
h1{
margin-bottom: 20px;
}
h2{
margin-top: auto
font-family: cursive;
font-size: 30px;
margin-bottom: 20px;
}
p{
text-align: justify;
}
.author-text{
margin-top: 20px;
font-size: 23px;
}
.container {
width: 1140px;
margin-left: auto;
margin-right: auto;
margin-top: 20px;
}
.blog-post {
background-color: aqua;
width: 75%;
float: left;
padding: 30px;
position: relative;
}
.other-post {
background-color: yellow;
width: 25%;
float: left;
}
.author-text {
border-top: 1px solid rgb(57, 55, 55);
background-color:lightskyblue;
}
.author-text img {
border-radius: 50%;
}
.date {
color: rebeccapurple;
position: absolute;
top: 10px;
right: 30px
}
.second-post {
margin-bottom: 10px;
margin-top: 10px;
}
.third-post {
margin-bottom: 10px;
margin-top: 10px;
}
.fourth-post {
margin-bottom: 10px;
margin-top: 10px;
}
.fifth-post {
margin-bottom: 10px;
margin-top: 10px;
}
.fa {
padding: auto;
font-size: 30px;
width: 30px;
text-align: center;
text-decoration: none;
margin: 5px 2px;
border-radius: 40%;
}
.fa:hover {
opacity: 0.7;
}
.fa-facebook {
background: #3B5998;
color: white;
}
.fa-twitter {
background: #55ACEE;
color: white;
}
.fa-linkedin {
background: #007bb5;
color: white;
}
.fa-github {
background: #white;
color: black;
}
.fa-instagram {
background: #125688;
color: white;
}