-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
142 lines (120 loc) · 2.28 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
/* This file holds CSS style information for my personal website. */
/* Creator: Stefan Nicolae Teodoropol */
/* Date: 24.07.2019 */
/* BEGIN Class-level declarations */
/* BEGIN Header style */
.header-image {
height: 540px;
background-color: #cccccc;
background-image: url("./images/zuri.jpg");
background-position: center;
background-size: cover;
background-repeat: no-repeat;
}
.header-text {
text-align: center;
position: relative;
top: 15%;
color: white;
}
/* END Header style */
/* BEGIN Content style */
.content {
background-color: #222;
}
.content-post {
border-style: solid none none none;
border-width: 10px;
border-color: white;
}
.content-text {
font-size: 100%;
color: white;
padding: 10px;
}
.avatar {
vertical-align: bottom;
width: 100px;
height: 100px;
border-radius: 50%;
}
.last-post {
border-style: solid none solid none !important;
}
/* END Content style*/
/* BEGIN Footer style */
.footer-image {
height: 540px;
background-color: #cccccc;
background-image: url("./images/zuri2.jpg");
background-position: center;
background-size: cover;
background-repeat: no-repeat;
}
.footer-text {
text-align: center;
position: relative;
top: 10%;
color: #5a7983;
}
.email-text {
letter-spacing: 0.01em;
}
.copyright-text {
color: gray;
text-align: center;
}
/* END Footer style */
/* END Class-level declarations */
/* BEGIN Tag-level declarations */
body {
font-family: 'Montserrat', sans-serif;
font-weight: 100;
letter-spacing: 0.1em;
margin:0 !important;
}
h1 {
font-weight: 100;
letter-spacing: 0.1em;
margin:0 !important;
}
h2 {
font-weight: 100;
letter-spacing:0.1em;
}
p {
letter-spacing: 0.08em;
text-align: justify;
}
a {
color: white;
}
/* END Tag-level declarations */
/* BEGIN Mobile-first code */
/* This part of the code creates 3 behaviors depending on the current screen width */
/* The screen is 400px wide or less */
@media all and (max-width: 400px) {
body {
font-size: 4vw;
}
.footer-text {
font-size: 3vw;
}
}
/* The screen is between 401px and 900 px wide */
@media all and (min-width: 401px) {
body {
font-size: 100%;
}
.footer-text {
font-size: 75%;
}
}
/* The screen is wider than 400px */
@media all and (min-width: 901px) {
.content-text {
width: 900px;
margin: auto;
}
}
/* END Mobile-first code */