-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
99 lines (86 loc) · 1.57 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
* {
margin: 0px;
padding: 0px;
font-family: "Caveat", cursive;
}
html {
height: 100%;
}
body {
background-image: url(Assets/background.png);
height: 100%;
background-size: cover;
background-repeat: no-repeat;
}
section {
text-align: center;
}
img {
height: 350px;
border-radius: 1rem;
box-shadow: 2mm 2mm 5mm black;
}
main {
height: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-around;
}
h1 {
font-size: 4rem;
}
h3 {
font-size: 2rem;
margin-bottom: 1rem;
}
p {
font-size: 2rem;
font-weight: 500;
margin: 0px 20% 1rem 20%;
}
#author {
margin-bottom: 0.5rem;
}
button {
background-color: rgba(255, 160, 0, 0.8);
box-shadow: 0 0 15px rgba(255, 160, 0, 0.8), 0 0 30px rgba(255, 160, 0, 0.6);
border: none;
font-size: 2rem;
padding: 0.5rem 2.5rem;
border-radius: 2rem;
cursor: pointer;
transition: all 0.3s ease;
margin-bottom: 1rem;
}
button:hover {
transform: scale(1.05);
box-shadow: 0 0 30px rgba(255, 160, 0, 0.8), 0 0 45px rgba(255, 160, 0, 0.6);
}
@media (max-width: 1080px) {
p {
margin: 0px 10% 1rem 10%;
}
}
@media (max-width: 540px) {
p {
margin: 0px 2% 1rem 2%;
font-size: 1.5rem;
}
h1 {
font-size: 2.5rem;
}
h3 {
font-size: 2rem;
}
img {
height: 250px;
}
button {
transform: scale(0.75);
}
button:hover {
transform: scale(0.75);
background-color: rgba(255, 160, 0, 1);
}
}