-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
46 lines (40 loc) · 814 Bytes
/
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
*{
margin: 0;
padding: 0;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
:root{
--body-color: #2c2c2c;
--text-color: #fff;
}
body{
background: var(--body-color);
color: var(--text-color);
overflow: hidden;
transition: 500ms all;
}
body.light{
background: rgb(255, 255, 255);
color: #2c2c2c;
}
main{
display: flex;
justify-content: center;
align-content: center;
align-items: center;
padding: 10px;
height: 100vh;
}
main .container{
border: 1px solid rgb(114, 114, 114);
padding: 20px;
}
main button{
position: absolute;
top: 10px;
right: 10px;
padding: 5px;
border-radius: 8px;
border: none;
cursor: pointer;
}