-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
208 lines (178 loc) · 4.12 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
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
* {
box-sizing: border-box;
margin: 0;
padding: 0;
text-align: center;
}
/*set variables to keep the main colors*/
:root {
--primaryColor: #06224A;
--secondaryColor: #8FBAF3;
--tertiaryColor: #114288;
--fourthColor: #FFFFFF;
--colorLinksHex: #BDF1F6;
--colorLinksRGB: rgb(211, 247, 250);
--shadowColor: #cccccc;
}
body {
background-color: var(--primaryColor);
color: var(--fourthColor);
font-family: Noto Sans, sans-serif !important;
font-size: 16px;
line-height: 1.4em;
min-width: 300px;
width: 100%;
}
/*general configurations*/
h1, h2, h3, h4, h5, h6 {
color: var(--secondaryColor);
margin: 0.8em;
}
h1 {
font-size: 32px;
}
h2 {
font-size: 24px;
}
h3 {
font-size: 14px;
}
p {
margin: 0.8em 20px;
}
a {
color: var(--tertiaryColor);
}
a:visited{
color: var(--colorLinksRGB);
}
header {
position: fixed;
top: 0;
background-color: var(--primaryColor);
z-index: 2;
width: 100%;
}
/*set the behavior of the progress bar*/
#progress-bar {
--scrollAmount: 0%;
background-color: var(--secondaryColor);
width: var(--scrollAmount);
height: 10px;
position: fixed;
top: 0;
z-index: 4;
}
/*------------styles to the image-----------------*/
div#img-div {
background-color: var(--tertiaryColor);
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='105' viewBox='0 0 80 105'%3E%3Cg fill-rule='evenodd'%3E%3Cg id='death-star' fill='%23ffffff' fill-opacity='0.08'%3E%3Cpath d='M20 10a5 5 0 0 1 10 0v50a5 5 0 0 1-10 0V10zm15 35a5 5 0 0 1 10 0v50a5 5 0 0 1-10 0V45zM20 75a5 5 0 0 1 10 0v20a5 5 0 0 1-10 0V75zm30-65a5 5 0 0 1 10 0v50a5 5 0 0 1-10 0V10zm0 65a5 5 0 0 1 10 0v20a5 5 0 0 1-10 0V75zM35 10a5 5 0 0 1 10 0v20a5 5 0 0 1-10 0V10zM5 45a5 5 0 0 1 10 0v50a5 5 0 0 1-10 0V45zm0-35a5 5 0 0 1 10 0v20a5 5 0 0 1-10 0V10zm60 35a5 5 0 0 1 10 0v50a5 5 0 0 1-10 0V45zm0-35a5 5 0 0 1 10 0v20a5 5 0 0 1-10 0V10z' /%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
padding: 0px 10px;
width:100%;
display: flex;
flex-direction: column;
align-items: center;
flex-wrap: wrap;
margin-top: 110px;
}
figure#image-pv {
background-color: var(--primaryColor);
border-radius: 5px;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
margin: 10px;
padding: 10px;
box-shadow: 0 0 20px var(--primaryColor);
-mox-box-shadow: 0 0 20px var(--primaryColor);
-webkit-box-shadow: 0 0 20px var(--primaryColor);
width: 720px;
display: flex;
flex-direction: column;
align-items: center;
flex-wrap: wrap;
}
#image {
border-radius: 10px;
width: 98%;
}
/*------------styles to the content of the page-----------------*/
/*center the elements*/
section#content {
display: flex;
flex-direction: column;
align-items: center;
flex-wrap: wrap;
}
section#content *{
max-width: 650px;
margin: 25px 15px;
}
section#content li {
color: var(--primaryColor);
background-color: var(--fourthColor);
padding: 5px 15px;
box-shadow: 0 0 5px var(--fourthColor);
-mox-box-shadow: 0 0 5px var(--fourthColor);
-webkit-box-shadow: 0 0 5px var(--fourthColor);
border-radius: 15px;
list-style-type: none;
}
/*------------styles to the blockquotes-----------------*/
q {
quotes: "“" "”" "‘" "’";
}
q::before {
content: open-quote;
}
blockquote {
background: var(--fourthColor, rgb(255, 255, 255));
max-width: 800px;
color: var(--tertiaryColor);
border-left: 10px solid var(--secondaryColor);
margin: 1.5em 10px;
padding: 0.5em 10px;
quotes: "\201C""\201D""\2018""\2019";
border-radius: 5px;
text-align: left;
}
blockquote:before {
color: var(--shadowColor);
content: open-quote;
font-size: 4em;
line-height: 0.1em;
margin-right: 0.25em;
vertical-align: -0.4em;
}
/*------------ add web responsive-----------------*/
@media (max-width: 280px) {
h1 {
font-size: 28px;
}
}
/*Dispositivos extra pequeños*/
@media (max-width: 572.98px) {
figure#image-pv {
width: 90%;
}
div#img-div{
margin-top: 130px;
}
}
/*Dispositivos pequeños*/
@media (min-width: 576px) and (max-width:767.98px) {
figure#image-pv {
width: 90%;
}
}
/*Dispositivos extra grandes*/
@media (min-width:1200px) {
figure#image-pv {
width: 750px;
}
section#content *{
max-width: 900px;
}
blockquote>p{
max-width: 800px;
}
}