-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
96 lines (85 loc) · 1.9 KB
/
Copy pathstyles.css
File metadata and controls
96 lines (85 loc) · 1.9 KB
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
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: "Poppins", sans-serif;
background-color: #fff;
transition: background-color 0.5s ease;
}
#navbar {
height: 80px;
background: linear-gradient(135deg, #373b44, #4286f4);
}
.dark-light-switch {
display: flex;
justify-content: left;
align-items: center;
height: inherit;
padding-left: 20px;
}
.checkbox {
opacity: 0;
position: absolute;
}
.checkbox-label {
background-color: #111;
width: 53px;
height: 26px;
border-radius: 50px;
position: relative;
padding: 5px;
cursor: pointer;
display: flex;
justify-content: space-between;
align-items: center;
}
.checkbox-label .ball {
background-color: #fff;
width: 22px;
height: 22px;
position: absolute;
left: 2px;
top: 2px;
border-radius: 50%;
transition: transform 0.2s linear;
}
.checkbox:checked + .checkbox-label .ball {
transform: translateX(24px);
}
.sun {
position: absolute;
left: 50%;
transform: translateX(-50%);
width: 70px;
height: 70px;
border-radius: 50%;
background-color: orange;
box-shadow: 0 0 35px 5px yellow, 0 0 25px 10px yellow inset;
transition: background-color 0.5s ease, box-shadow 0.5s ease;
}
/* Dark mode styling */
body.dark-mode {
background-color: #1c1c1e;
transition: background-color 0.5s ease;
}
body.dark-mode .sun {
background-color: #f39c12;
box-shadow: 0 0 20px #f39c12;
}
.profile-img {
width: 200px;
border-radius: 50%;
}
.user-info {
display: flex;
justify-content: space-evenly;
}
.company-logo {
width: 100px;
}
#experience {
background: linear-gradient(135deg, #373b44, #4286f4);
}