-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyle.css
More file actions
97 lines (82 loc) · 1.31 KB
/
style.css
File metadata and controls
97 lines (82 loc) · 1.31 KB
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
:root {
--pink: #4e53f2;
--bg: #0a0a0a;
--shadow: 0 2px 2px rgb(0 0 0 / 0.9);
}
body {
font-size: 1.2rem;
font-family: 'Work Sans', sans-serif;
min-height: 100px;
}
.hero::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-image: url(background.jpg);
background-size: cover;
background-position: center;
z-index: -1;
filter: blur(6px);
}
.hero {
position: relative;
min-height: 100vh;
}
.hero h1,
.hero h4,
.hero h3,
.hero h2,
.hero p {
text-shadow: var(--shadow);
}
.hero h1 {
font-family: 'Sacramento', cursive;
font-size: 6rem;
}
.hero h4 {
font-size: 1.6rem;
}
.hero p {
font-size: 1.5rem;
}
.hero a {
color: var(--pink);
background-color: white;
box-shadow: var(--shadow);
}
.hero a:hover {
background-color: var(--pink);
color: white;
}
.home {
background-image: url(img/bg.png);
background-size: "cover";
min-height: 100vh;
margin-top: -6rem;
padding-top: 15rem;
padding-bottom: 5rem;
}
.home h2,
.info h2 {
color: var(--pink);
font-family: 'Sacramento';
font-size: 5rem;
font-weight: bold;
}
.home h3 {
color: #444;
font-size: 1.5rem;
margin-bottom: 1rem;
}
.home p {
font-size: 1.1rem;
color: #666;
}
/* mobile phone */
@media (max-width: 576px) {
html {
font-size: 60%;
}