-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
76 lines (71 loc) · 1.82 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
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;500;600&display=swap');
body{
font-family: 'Raleway', sans-serif;
color: rgba(0, 0, 0, 0.5);
text-align: center;
text-transform: uppercase;
letter-spacing: .5em;
top:15%;
background: linear-gradient(to right, red, yellow);
}
h1{
font: 600 3.5em 'Raleway', sans-serif;
color: rgba(0, 0, 0, .5);
text-align: center;
text-transform: uppercase;
letter-spacing: .5em;
width: 100%;
}
h3{
font: 900 1em 'Raleway',sans-serif;
color: rgba(0, 0, 0, .5);
text-align: center;
text-transform: none;
letter-spacing: 0.01em;
}
#btn{
margin-top: 2em;
background: rgb(59, 57, 57);
font: 600 1em 'Raleway', sans-serif;
border: none;
border-radius: 2em;
width: 8em;
height: 3em;
color: rgb(214, 214, 214);
text-align: center;
cursor: pointer;
box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px, rgba(0, 0, 0, 0.22) 0px 15px 12px;
}
@media only screen /*iPhone X*/
and (device-width : 375px)
and (device-height : 812px)
and (-webkit-device-pixel-ratio : 3),
{
body{
width: 100%;
}
h1{
font: 600 1.5em 'Raleway', sans-serif;
width: 100%;
}
h3{
font: 900 .5em 'Raleway',sans-serif;
width: 100%;
}
}
@media only screen /*iPhone 11*/
and (min-device-width : 414px)
and (max-device-height : 896px)
and (-webkit-device-pixel-ratio : 2){
body{
width: 100%;
}
h1{
font: 600 1.5em 'Raleway', sans-serif;
width: 100%;
}
h3{
font: 900 .5em 'Raleway',sans-serif;
width: 100%;
}
}