-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
96 lines (86 loc) · 1.34 KB
/
styles.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
html {
font-size: 62.5%;
box-sizing: border-box;
}
*,
*::before,
*::after {
margin: 0;
padding: 0;
box-sizing: inherit;
}
body {
font-size: 4rem;
text-align: center;
font-family: monospace;
height: auto;
width: auto;
}
input {
width: 35%;
height: 50px;
background-color: lightgray;
border: none;
font-size: 2rem;
text-align: center;
}
button {
width: 15%;
height: 50px;
background-color: rgb(182, 195, 207);
color: black;
border: none;
font-size: 1.75rem;
}
button:hover {
background-color: black;
cursor: pointer;
color: rgb(182, 195, 207);
}
h1 {
margin: 50px 0 50px 0;
}
h2 {
margin: 50px 0 50px 0;
}
h3 {
margin: 50px 0 50px 0;
}
h4 {
height: 5rem;
width: 50%;
border: 2px black solid;
border-radius: 15px;
margin: 0 25% 0 25%;
background-color: #b7bcc2;
color: rgb(34, 36, 42);
padding: 0.5rem;
}
.paragraph {
font-size: 5rem;
border: 2px solid black;
border-radius: 15px;
width: 60%;
margin-bottom: 50px;
background-color: rgb(110, 71, 71);
color: rgb(255, 255, 255);
padding: 18px;
}
.background--custom {
background: linear-gradient(90deg, #6785a7, #64dffd, #abae32);
background-size: 300% 300%;
animation: gradient 4s alternate infinite;
position: absolute;
top: 0;
left: 0;
height: 100%;
width: 100%;
}
@keyframes gradient {
0% {
background-position: 0%;
}
100% {
background-position: 100%;
}
}