-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyle.css
56 lines (45 loc) · 996 Bytes
/
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
body {
background: url('./resources/wallpaper.jpg');
background-position: center;
background-size: cover;
background-repeat: no-repeat;
overflow: hidden;
min-height:100vh;
font-family: 'Open Sans', sans-serif;
letter-spacing: 2px;
}
.top, .bottom{
font-size: 60px;
color: #000;
text-align: center;
}
#main-content{
height:100vh;
display: flex;
flex-direction: column;
justify-content: space-between;
align-content: space-between;
}
#main-content h1{
margin:0 !important;
}
.bottom {
margin-bottom: 40px;
}
.bottom h1 .time{
padding:1%;
background:red;
color:#fff;
animation: bgchange 5s linear 2s infinite alternate;
}
/* media query at the end */
@media screen and (max-width: 600px) {
.top, .bottom {
font-size:40px;
}
}
@keyframes bgchange {
0% {background-color: royalblue;}
50% {background-color: rgb(20, 138, 235);}
100% {background-color: silver;}
}