-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMain.css
154 lines (143 loc) · 2.83 KB
/
Main.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
@import url('https://fonts.googleapis.com/css?family=Droid+Serif|Merriweather|Raleway|Raleway+Dots');
body{
margin:0;
padding:0;
background: #2980b9 url('imageStatic.png') repeat 0 0;
-webkit-animation: 10s linear 0s normal none infinite animate;
-moz-animation: 10s linear 0s normal none infinite animate;
-ms-animation: 10s linear 0s normal none infinite animate;
-o-animation: 10s linear 0s normal none infinite animate;
animation: 10s linear 0s normal none infinite animate;
}
@-webkit-keyframes animate {
from {background-position:0 0;}
to {background-position: 500px 0;}
}
@-moz-keyframes animate {
from {background-position:0 0;}
to {background-position: 500px 0;}
}
@-ms-keyframes animate {
from {background-position:0 0;}
to {background-position: 500px 0;}
}
@-o-keyframes animate {
from {background-position:0 0;}
to {background-position: 500px 0;}
}
@keyframes animate {
from {background-position:0 0;}
to {background-position: 500px 0;}
}
html, body {
height: 100%;
}
#intro {
height: 40%;
top: 40%;
text-align: center;
line-height: 20px;
margin-left: 30px;
margin-right: 30px;
margin-top: 80px;
}
.intro--inside{
margin-top: 0px;
line-height: 0px;
padding-bottom: 20px;
}
h1 {
font-size: 60px;
letter-spacing: 0.015em;
}
h1::after {
content: '';
width: 100px;
display: block;
background: pink;
height: 3px;
margin: 30px auto;
line-height: 1.1;
}
p {
align-self: center;
font-size: 13px;
padding-bottom: 20px;
font-family: Droid Serif;
}
.btn {
display: inline-block;
margin: 12px;
padding: 12px 30px;
border: 1px solid #fff;
text-transform: uppercase;
letter-spacing: 0.015em;
font-size: 12px;
font-weight: 700;
line-height: 1;
color: #fff;
border-radius: 50px;
text-decoration: none;
-webkit-transition: all 0.8s;
-moz-transition: all 0.8s;
-o-transition: all 0.8s;
transition: all 0.8s;
}
.btn:hover {
color: yellow;
border-color: yellow;
}
.btn1:hover {
color: #8817ff;
border-color: #8817ff;
}
.btn2:hover {
color: #1074ff;
border-color: #1074ff;
}
.btn3:hover {
color: #fda83f;
border-color: #fda83f;
}
.btn4:hover {
color: #4aff01;
border-color: #4aff01;
}
@media only screen and (max-width: 1000px) {
h1 {
font-size: 70px;
}
}
@media only screen and (max-width: 800px) {
h1 {
font-size: 48px;
}
h1::after {
height: 8px;
}
}
@media only screen and (max-width: 568px) {
#intro {
padding: 0 10px;
}
h1 {
font-size: 30px;
}
h1::after {
height: 6px;
}
p {
font-size: 18px;
}
.btn {
font-size: 16px;
}
}
@media only screen and (max-width: 320px) {
h1 {
font-size: 28px;
}
h1::after {
height: 4px;
}
}