-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
69 lines (58 loc) · 1.17 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
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600&display=swap');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Poppins', sans-serif;
font-weight: 600;
}
.light-mode, .dark-mode {
width: 100%;
height: 100vh;
}
.header {
width: 1000px;
margin: auto;
padding: 20px;
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 10px;
}
.bxs-sun, .bxs-moon {
font-size: 1.5rem;
border: 2px solid black;
padding: 10px;
border-radius: 5px;
cursor: pointer;
transition: all 0.3s linear;
}
.bxs-sun:hover, .bxs-moon:hover {
transform: translateY(-3%);
}
.show-case {
width: 1000px;
margin: auto;
padding: 20px;
}
.image {
width: 100%;
height: auto;
border-radius: 5px;
margin-bottom: 10px;
}
.dark-mode {
background-color: black;
display: none;
}
.dark-mode h2, .dark-mode p {
color: white;
}
.bxs-moon {
border-color: white;
color: white;
background-color: black;
}
.dark-mode .image {
box-shadow: 0 0 0.5rem rgb(26, 26, 26);
}