Skip to content
This repository was archived by the owner on Jun 6, 2025. It is now read-only.

Commit 094dfc8

Browse files
authored
Update styles.css
1 parent 2182088 commit 094dfc8

File tree

1 file changed

+16
-21
lines changed

1 file changed

+16
-21
lines changed

css/styles.css

Lines changed: 16 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,12 @@ body {
44
margin: 0;
55
padding: 0;
66
color: #fff;
7-
background: url("assets/images/blueprintscroll.png"); /* Default background */
7+
background: url("assets/images/blueprintscroll.png");
8+
transition: background-color 0.3s, color 0.3s;
9+
}
10+
11+
body.dark-mode {
12+
background-color: #000000; /* Darker background for dark mode */
813
}
914

1015
header {
@@ -20,22 +25,6 @@ header {
2025
height: auto;
2126
}
2227

23-
.home-icon img {
24-
width: 50px;
25-
height: 50px;
26-
margin-right: 1rem;
27-
}
28-
29-
.header-content h1 {
30-
font-size: 2.5rem;
31-
margin: 0;
32-
}
33-
34-
.header-content p {
35-
font-size: 1rem;
36-
margin: 0.5rem 0 0;
37-
}
38-
3928
.settings-icon {
4029
width: 100px;
4130
height: 100px;
@@ -55,18 +44,25 @@ header {
5544
justify-content: center;
5645
align-items: center;
5746
z-index: 1000;
47+
transition: backdrop-filter 0.3s;
48+
}
49+
50+
.settings-modal.blur {
51+
backdrop-filter: blur(5px);
5852
}
5953

6054
.settings-menu {
6155
background-color: #222;
6256
color: #fff;
63-
padding: 1rem 2rem;
57+
padding: 2rem; /* Increase padding to make it bigger */
6458
border-radius: 10px;
6559
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
6660
text-align: center;
67-
transition: transform 0.3s ease-out;
61+
transition: transform 0.3s ease-out, width 0.3s ease-out, height 0.3s ease-out;
6862
z-index: 100;
69-
width: 300px;
63+
width: 400px; /* Increase width */
64+
max-height: 80vh; /* Ensure it doesn't take up too much vertical space */
65+
overflow-y: auto; /* Add scroll if content exceeds max-height */
7066
}
7167

7268
/* Light mode styles */
@@ -86,7 +82,6 @@ body.no-bg {
8682
gap: 1rem;
8783
padding: 2rem;
8884
margin: auto;
89-
/* No background set here, use body's background */
9085
}
9186

9287
/* Card Styles */

0 commit comments

Comments
 (0)