-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
212 lines (173 loc) · 3.47 KB
/
styles.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
212
body{
background-image: url(./ancelleSunset.jpg);
background-repeat: no-repeat;
background-position: right top;
background-attachment: fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
padding: 0;
font-family: Roboto;
margin: 0;
}
.top-bar {
margin: 0;
font-size: 30px;
font-size: 2.5vw;
font-style: italic;
width: 100%;
min-height: 80px;
background: inherit;
position: fixed;
left : 0;
top : 0;
padding-bottom: 5px;
}
#menu li{
padding-bottom: 20px;
}
#menu a {
font-weight: bold;
color: RoyalBlue;
}
#menu a:hover{
color: deepskyblue;
}
ul{
list-style: none;
}
.name{
margin-left: 30%;
display: inline-flex;
left: 35%;
font-size: 50px;
}
.articles{
margin-left: 25%;
margin-top: 85px;
margin-right: 25%;
}
@media only screen and (max-width: 1000px) {
.articles{
margin-right: 25px;
margin-left: 10%;
margin-top: 120px;
}
.container {
margin-left: 5px;
margin-top: 5px;
}
.description p{
font-size: 37px;
}
.name {
font-size: 80px;
}
.top-bar {
margin-bottom: 20px;
}
#menu li {
font-size: 50px;
}
#menu {
min-width: 150px;
}
}
img{
width: 100%;
height: 100%;
/*min-height: 500px;*/
-webkit-animation: fadein 4s; /* Safari, Chrome and Opera > 12.1 */
-moz-animation: fadein 2s; /* Firefox < 16 */
-ms-animation: fadein 2s; /* Internet Explorer */
-o-animation: fadein 2s; /* Opera < 12.1 */
animation: fadein 2s;
}
@keyframes fadein {
from { opacity: 0; }
to { opacity: 1; }
}
/* Firefox < 16 */
@-moz-keyframes fadein {
from { opacity: 0; }
to { opacity: 1; }
}
/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
from { opacity: 0; }
to { opacity: 1; }
}
/* Internet Explorer */
@-ms-keyframes fadein {
from { opacity: 0; }
to { opacity: 1; }
}
/* Opera < 12.1 */
@-o-keyframes fadein {
from { opacity: 0; }
to { opacity: 1; }
}
.description {
font-style: normal;
font-family: Roboto;
font-size: 25px;
}
.article{
padding: 15px;
margin: 30px;
background: white;
border-radius: 25px;
border-style: solid;
border-color: black;
}
.container {
display: inline-block;
cursor: pointer;
margin : 5px;
margin-left: 10px;
}
.bar1, .bar2, .bar3 {
width: 42px;
height: 7px;
background-color: black;
margin: 6px 0;
transition: 0.4s;
}
/* Rotate first bar */
.change .bar1 {
-webkit-transform: rotate(-45deg) translate(-11px, 8px) ;
transform: rotate(-45deg) translate(-11px, 8px) ;
}
/* Fade out the second bar */
.change .bar2 {
opacity: 0;
}
/* Rotate last bar */
.change .bar3 {
-webkit-transform: rotate(45deg) translate(-8px, -8px) ;
transform: rotate(45deg) translate(-8px, -8px) ;
}
#menu{
position: fixed;
font-size: 30px;
min-width: 300px;
left: 0;
top: 0;
top: 0;
background-color: AntiqueWhite;
display: none;
padding-top: 50px;
padding-right: 15px;
width: 15%;
height: 100%;
transition: 2s;
}
.change .left-menu{
opacity: 1;
-webkit-transition: all 2s ease-in-out;
-moz-transition: all 2s ease-in-out;
-ms-transition: all 2s ease-in-out;
-o-transition: all 2s ease-in-out;
transition: all 2s ease-in-out;
}