forked from AdityyaX/College-Club-Website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
blog_css.css
211 lines (197 loc) · 3.74 KB
/
blog_css.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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
* {
box-sizing: border-box;
margin: 0px;
font-family: 'Poppins',sans-serif;
padding: 0px;
}
/* Add a gray background color with some padding */
body {
font-family: 'Poppins',sans-serif;
color: #2a2a2c;
}
/* Header/Blog Title */
.header {
padding: 40px;
font-size: 20px;
color: green;
text-align: center;
background: #2A2C2D;
}
hr{
height: 3px;
}
.head{
padding-top: 20px;
font-size: 25px;
}
.header h3{
font-weight: 800;
color: #fff;
font-size: 30px;
padding-bottom: 20px;
}
.header h1{
font-size: 60px;
}
.grey-bar{
height: 3vh;
background: #131417;
}
/* Create two unequal columns that floats next to each other */
/* Left column */
.leftcolumn {
float: left;
width: 75%;
font-family: sans-serif;
}
.row{
background-color: #2A2A2C;
}
/* Right column */
.rightcolumn {
float: left;
width: 25%;
padding-left: 20px;
}
.rightcolumn p{
text-align: justify;
font-size: 17px;
padding-top: 20px;
font-weight: 500;
}
.rightcolumn h2{
font-size: 40px;
}
.p_post {
align-items: center;
}
.pimg:hover {
opacity: 0.8;
cursor: pointer;
}
h2 {
color: green;
}
h5 {
color: black;
font-family:sans-serif;
}
/* Style all font awesome icons */
.fa {
padding: 15px;
font-size: 30px;
width: 50px;
text-align: center;
text-decoration:none;
}
/* Add a hover effect if you want */
.fa:hover {
opacity: 0.7;
}
/* Set a specific color for each brand */
/* Facebook */
.fa-facebook {
background: #3B5998;
color: white;
}
/* linkedin */
.fa-linkedin {
background: #55ACEE;
color: white;
}
/* instagram */
.fa-instagram {
background: #e42293;
color: white;
}
/* Fake image */
.fakeimg {
background-color: #aaa;
width: 60%;
padding: 10px;
display: inline-block;
align-items: center;
}
/* Add a card effect for articles */
.card {
background-color: white;
padding: 20px;
margin-top: 20px;
}
/* Clear floats after the columns */
.row:after {
content: "";
display: table;
clear: both;
}
.header{
min-height: 20vh;
width: 100%;
background: #131417;
position: relative;
}
.footer1 {
background-color: #308d46;
color: white;
height: 10vh;
margin: 0px;
line-height: 5vh;
text-align: center;
}
.footer1 p{
padding-top: 15px;
font-size: 15px;
font-family: 'Poppins',sans-serif;
}
.navbar{
display: flex;
padding: 20px 50px;
align-items: center;
background: #2A2A2C;
}
nav{
flex: 1;
text-align: right;
}
.logo img{
transition: 0.8s ease-in-out;
margin-top: 4px;
cursor: pointer;
}
.logo img:hover{
transform: scale(1.12) rotate(360deg);
}
nav ul{
display: inline-block;
list-style-type: none;
}
nav ul li{
display: inline-block;
border: 1px solid #308D46;
padding: 7px 22px;
margin: 10px 15px;
box-shadow: 4px 4px 5.5px #131417;
transition: 0.3s;
cursor: pointer;
}
a{
text-decoration: none;
color: #308D46;
font-size: 15.5px;
font-family: 'Poppins', sans-serif;
cursor: pointer;
}
nav ul li:hover a{
color: #ffffff;
}
nav ul li:hover{
background: #308D46;
border: 1px solid #308D46;
transform: translate(-6px,-6px);
}
@media screen and (max-width: 800px) {
.leftcolumn, .rightcolumn {
width: 100%;
padding: 0;
}
}