-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
146 lines (141 loc) · 3.29 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
body{
font-family: "Ubuntu";
background: url(images/background.jpg) no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}
canvas{
color: white;
display: block;
margin-top: 10%;
margin-left: auto;
margin-right: auto;
border: 8px solid #ddd;
border-top-left-radius: 10px;
border-top-right-radius: 10px;
}
.right{
float: right;
}
/*==============================Buttons=================================*/
.buttonGroup{
text-align: center;
margin-left: auto;
margin-right: auto;
width: 800px;
padding: 10px 0;
background: #ddd;
border-left: 8px solid #ddd;
border-right: 8px solid #ddd;
border-bottom: 8px solid #ddd;
border-bottom-right-radius: 10px;
border-bottom-left-radius: 10px;
}
.button{
padding: 10px 60px 10px 60px;
text-decoration: none;
color: white;
font-weight: bold;
background-color: #00b875;
-webkit-transition: background-color 500ms linear;
-moz-transition: background-color 500ms linear;
-o-transition: background-color 500ms linear;
-ms-transition: background-color 500ms linear;
transition: background-color 500ms linear;
}
.button:hover{
background-color: #0d96d6;
}
/*==============================Popup=================================*/
.modal {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
background: rgba(100, 100, 100, 0.8);
-webkit-transition: opacity 500ms;
-moz-transition: opacity 500ms;
-o-transition: opacity 500ms;
-ms-transition: opacity 500ms;
transition: opacity 500ms;
visibility: hidden;
opacity: 0;
}
.modal:target {
visibility: visible;
opacity: 1;
}
.modal > div {
position: relative;
margin: 10% auto;
padding: 25px;
background: #34495E;
color: white;
border-radius: 5px;
width: 40%;
height: 55%;
overflow: auto;
}
.modal a{
color: white;
}
.modal a:hover{
text-decoration: none;
}
/*==============================Stars=================================*/
.fallingStar {
background: white;
position: absolute;
/*Falling star*/
-webkit-animation-timing-function: linear;
-webkit-animation-iteration-count: infinite;
-webkit-animation-play-state: running;
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-play-state: running;
}
#right{
width: 1px;
height: 5px;
-webkit-animation-name: fallRight;
animation-name: fallRight;
-webkit-animation-duration: 2s;
animation-duration: 2s;
/* Rotate star*/
-ms-transform: rotate(-65deg);
-webkit-transform: rotate(-65deg);
transform: rotate(-65deg);
}
#left{
width: 1px;
height: 7px;
-webkit-animation-name: fallLeft;
animation-name: fallLeft;
-webkit-animation-duration: 5s;
animation-duration: 5s;
/* Rotate star*/
-ms-transform: rotate(70deg);
-webkit-transform: rotate(70deg);
transform: rotate(70deg);
}
/*=======Fall Right==========*/
@-webkit-keyframes fallRight {
0% {left:65%; top:30px;}
100% {left:98%; top:200px;}
}
@keyframes fallRight {
0% {left:65%; top:30px;}
100% {left:98%; top:200px;}
}
/*=========Fall Left========*/
@-webkit-keyframes fallLeft {
0% {left:40%; top:20px;}
100% {left:2%; top:150px;}
}
@keyframes fallLeft {
0% {left:40%; top:20px;}
100% {left:2%; top:150px;}
}