-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
171 lines (136 loc) · 2.58 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
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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body{
font-family: Railway, Helvetica Neue, Arial;
font-size: 18px;
background: url("test.png") no-repeat center center fixed;
}
h1, h2{
font-family: Helvetica Neue, Arial;
color: black;
}
h1{
font-size: 90px;
margin-bottom: 20px;
}
h2{
font-size: 32px;
margin-bottom: 10px;
}
p {
text-align: justify;
background-color:
}
.header { \\this is the header(title)
padding: 50px;
text-align: left;
color: white;
font-size: 30px;
margin-top: 30px;
margin-bottom: 30px;
}
.topnav {
background-color: gray;
overflow: hidden;
}
.topnav a {
float: left;
color:#f2f2f2;
text-align: center;
padding:14px 16px;
text-decoration: none;
font-size: 17px;
}
.topnav a:hover {
background-color: #ddd;
color: black;
}
.topnav a.active {
background-color: black;
color: white;
}
html {
//background: url(testbk.jpg) no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}
.main-text {
text-align: justify;
margin-bottom: 25px;
font-size: 20px;
line-height: 150%;
max-width: 90ch;
margin-top: 25px;
}
.author-text {
font-size: 22px;
float: left;
margin-top: 40px;
margin-left: 15px;
}
.container {
width: 1140px;
margin: 20px auto 0 auto;
}
.other-post {
width: 25%;
float: left;
}
.blogpost {
width: 75%;
float: left;
padding-right: 30px;
color: ;
position: relative;
}
.blogpostpicture {
float:right;
margin-left: 50px;
margin-top: 90px;
text-align: right;
}
.authorbox {
padding: 20px;
border-top: 1px solid gray;
}
.clearfix:after {
content: "";
display: table;
clear:both;
}
.other-content {
margin-bottom: 40px;
color:
}
.authorbox img{
height: 100px;
width: 100px;
border-radius: 50%;
float: left;
}
.blogpost img{
height: 400px;
width: auto;
}
.date{
position: absolute;
top: 10px;
right: 30px;
}
#overlay {
position: fixed; /* Sit on top of the page content */
display: block; /* Hidden by default */
width: 100%; /* Full width (cover the whole page) */
height: 100%; /* Full height (cover the whole page) */
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: rgba(255, 255, 255, 0.12); /* Black background with opacity */
z-index: 2; /* Specify a stack order in case you're using a different order for other elements */
}