-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
91 lines (83 loc) · 1.3 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
:root{
--bg-color:green;
}
body{
height: 100vh;
width: 100vw;
border: none;
padding: 0;
margin: 0;
background-color: var(--bg-color);
font-size: 16px;
box-sizing:border-box;
}
.navbar{
height: 2rem;
padding:0;
margin:0;
display: flex;
flex-direction: row;
justify-content: space-around;
align-items: center;
background-color: whitesmoke;
font-size: 1.5rem;
}
li{
border-right: 2px black solid;
}
li:last-of-type{
border: none;
}
#simple{
text-decoration: underline;
cursor: pointer;
}
#rgb{
text-decoration: none;
cursor: pointer;
}
#hex{
text-decoration: none;
cursor: pointer;
}
ul, li{
display:inline;
padding:0 1rem;
margin: 0;
}
section{
padding: 0 15rem;
height: 90vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items:center;
}
h1{
font-size: 3rem;
background-color: black;
color:whitesmoke;
border-radius: 15px;
padding:10px;
margin-bottom:25px;
}
h1>span{
color: var(--bg-color);
}
button#change-color{
background-color: black;
outline: none;
border: black 2px solid;
border-radius: 15px;
color: white;
padding: 15px;
margin-top: 25px;
cursor: pointer;
font-size: 18px;
}
button#change-color:hover{
border: #aaa 2px solid;
}
button#change-color:active{
background-color: #555;
}