-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdarkmode.css
92 lines (80 loc) · 1.65 KB
/
darkmode.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
92
* {
transition: 240ms ease-in;
}
body {
background-color: #171717;
}
.container {
width: 250px;
height: 250px;
padding: 50px;
margin-left: 50%;
margin-right: 50%;
border-radius: 8px;
background-color: #121212;
transform: translate(-50%, 20%);
box-shadow: 0px 0px 30px #111;
}
.profile-image {
top: -100px;
width: 100px;
height: 100px;
margin-left: 50%;
margin-right: 50%;
border-radius: 50%;
position: relative;
background-size: cover;
transform: translateX(-50%);
border: 2px solid dodgerblue;
box-shadow: 0px 0px 10px #111;
filter: brightness(0.8) contrast(2.0);
background-image: url(./images/profile.jpg);
}
.profile-info {
top: -100px;
position: relative;
text-align: center;
}
.profile-info h2 {
color: white;
font-size: 30px;
font-weight: bold;
margin: 10px 0px 0px 0px;
font-family: 'Segoe UI', sans-serif;
}
.profile-info p {
color: #aaa;
font-size: 14px;
margin: 2px 0px 0px 0px;
font-family: 'Segoe UI', sans-serif;
}
.light-dark {
display: flex;
margin-left: 50%;
margin-right: 50%;
justify-content: space-evenly;
transform: translate(-50%, 20%);
}
.light-dark button {
border: none;
outline: none;
margin-right: 5px;
border-radius: 4px;
font-weight: medium;
padding: 0.5rem 1.5rem;
font-family: 'Segoe UI', sans-serif;
}
.light-dark .light {
color: black;
background-color: #eee;
}
.light-dark .black {
color: white;
background-color: #171717;
}
.light-dark .light:hover {
background-color: #ddd;
}
.light-dark .black:hover {
background-color: #333;
}