-
-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathstyle.css
65 lines (54 loc) · 1.13 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
/* importing fonts from google font */
/* »» ROBOTO FONT and »» RUBIK FONT (Combined) */
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&family=Rubik:wght@300;400;500;700&display=swap");
/*------------------------------------------------------*/
:root {
/* FONTS */
--rubik: "Rubik", sans-serif;
--roboto: "Roboto", sans-serif;
/* COLOR */
--white: #fff;
--black: #000;
--h1Color: #eb6123;
--h1ColorLight: #53ca90;
--theme: #26baff;
--bodyColor: #512888;
--footerBtn: #936639;
}
/*--------------------------------*/
body {
background-color: var(--bodyColor);
text-align: center;
}
h1 {
color: var(--h1Color);
font-size: 40px;
font-family: var(--rubik);
text-align: center;
padding: 10px;
transition: font-size 1s, content 2s;
}
h2 {
font-family: var(--rubik);
text-align: center;
font-size: 200%;
padding: 25px;
}
p{
color: var(--h1ColorLight);
font-family: var(--rubik);
font-size: 24px;
text-align: center;
}
section {
margin-top: 5rem;
}
h1:hover span{
display: none;
}
h1:hover{
font-size: 50px;
}
h1:hover:before{
content:"BOOOOOOO!!!!";
}