-
Notifications
You must be signed in to change notification settings - Fork 110
/
join_community.css
113 lines (95 loc) · 2 KB
/
join_community.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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: Arial, sans-serif;
background-color: #f0f0f0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
transition: background-color 0.3s ease;
}
.container {
background-color: #fff;
padding: 20px;
border-radius: 15px;
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
text-align: center;
width: 90%;
max-width: 400px;
transition: background-color 0.3s ease;
}
.profile-pic {
width: 100px; /* Set the desired width */
height: auto; /* Maintain aspect ratio */
max-width: 100%; /* Ensure it fits within the parent element */
max-height: 100%; /* Ensure it fits within the parent element */
object-fit: cover; /* This will help maintain the aspect ratio while covering the box */
}
h1 {
font-size: 24px;
color: #333;
transition: color 0.3s ease;
}
.bio {
font-size: 14px;
color: #666;
margin-bottom: 20px;
transition: color 0.3s ease;
}
.links .link-btn {
display: block;
background-color: #4CAF50;
color: white;
padding: 10px;
text-decoration: none;
border-radius: 5px;
margin: 10px 0;
font-size: 18px;
transition: background-color 0.3s ease;
}
.links .link-btn:hover {
background-color: #45a049;
}
.theme-btn {
margin-top: 20px;
padding: 10px;
background-color: #333;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
font-size: 16px;
}
.theme-btn:hover {
background-color: #555;
}
/* Dark mode styles */
.dark-mode {
background-color: #121212;
}
.dark-mode .container {
background-color: #1e1e1e;
}
.dark-mode h1 {
color: #f1f1f1;
}
.dark-mode .bio {
color: #aaa;
}
.dark-mode .link-btn {
background-color: #bb86fc;
}
.dark-mode .link-btn:hover {
background-color: #9d69e3;
}
.dark-mode .theme-btn {
background-color: #bb86fc;
}
.dark-mode .theme-btn:hover {
background-color: #9d69e3;
}