forked from katelyn98/WiCS-Dynamic-Website-Tutorial
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.css
71 lines (57 loc) · 1008 Bytes
/
main.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
/*Use hex values to change the colors of the webpage*/
:root {
--purple: #4b0082;
--white: #ffffff;
--pink: #ffcccc;
}
body {
font-family: monospace;
}
ul {
font-family: helvetica;
}
li {
list-style: circle;
}
.list {
list-style: square;
}
#msg {
font-family: monospace;
}
.light-theme {
--bg: var(--pink);
--fontColor: var(--purple);
--btnBg: var(--purple);
--btnFontColor: var(--white);
}
.dark-theme {
--bg: var(--purple);
--fontColor: var(--pink);
--btnBg: var(--white);
--btnFontColor: var(--purple);
}
* {
color: var(--fontColor);
font-family: helvetica;
}
body {
background: var(--bg);
}
.btn {
color: var(--btnFontColor);
background-color: var(--btnBg);
}
/*adjust the location of the button on your webpage*/
.btn {
position: absolute;
top: 20px;
left: 450px;
height: 50px;
width: 50px;
border-radius: 50%;
border: none;
color: var(--btnFontColor);
background-color: var(--btnBg);
}
.btn:focus { outline-style: none; }