Skip to content

Commit 9d6d800

Browse files
committed
add
1 parent 475b70b commit 9d6d800

4 files changed

Lines changed: 235 additions & 519 deletions

File tree

README.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,3 @@
2929
- [x] Unit Convertor
3030
- [x] Word Counter
3131
- []
32-
33-
34-
for resposive for desktop screen and mobile screen and tablet screen same functionality
35-
design problem refactor it and add dark mode and light mode black text on a white background (light mode) and white or light gray text on a dark background (dark mode)
36-
with latest version of bulma css 1.0.2 https://cdn.jsdelivr.net/npm/bulma@1.0.2/css/bulma.min.css

css/bulma.css

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
@charset "UTF-8";
2-
/*! bulma.io v1.0.3 | MIT License | github.com/jgthms/bulma */
2+
/*! bulma.io v1.0.4 | MIT License | github.com/jgthms/bulma */
33
/* Bulma Utilities */
44
:root {
55
--bulma-control-radius: var(--bulma-radius);
@@ -3776,6 +3776,7 @@ a.box:active {
37763776
}
37773777
.button.is-outlined {
37783778
--bulma-button-border-width: max(1px, 0.0625em);
3779+
--bulma-loading-color: hsl(var(--bulma-button-h), var(--bulma-button-s), var(--bulma-button-l));
37793780
background-color: transparent;
37803781
border-color: hsl(var(--bulma-button-h), var(--bulma-button-s), var(--bulma-button-l));
37813782
color: hsl(var(--bulma-button-h), var(--bulma-button-s), var(--bulma-button-l));
@@ -21040,6 +21041,10 @@ has-background-danger.is-hoverable:active {
2104021041
font-weight: 700 !important;
2104121042
}
2104221043

21044+
.has-text-weight-extrabold {
21045+
font-weight: 800 !important;
21046+
}
21047+
2104321048
.is-family-primary {
2104421049
font-family: "Inter", "SF Pro", "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Helvetica Neue", "Helvetica", "Arial", sans-serif !important;
2104521050
}

css/style.css

Lines changed: 2 additions & 82 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,7 @@
33
font-family: 'Ubuntu', sans-serif;
44
transition: background-color 0.3s ease, color 0.3s ease;
55
}
6-
7-
.light-mode {
8-
background-color: white;
9-
color: black;
10-
}
11-
12-
.dark-mode {
13-
background-color: #121212;
14-
color: #dcdcdc;
15-
}
16-
6+
177
.hero {
188
background-image: linear-gradient(to right top, #d16ba5, #c777b9, #ba83ca, #aa8fd8, #9a9ae1, #8aa7ec, #79b3f4, #69bff8, #52cffe, #41dfff, #46eefa, #5ffbf1);
199
background-repeat: no-repeat;
@@ -22,46 +12,13 @@
2212
padding: 2rem;
2313
}
2414

25-
.btnclr {
26-
background-color: #6f5af8;
27-
color: #fff;
28-
transition: background-color 0.3s ease;
29-
}
30-
31-
.btnclr:hover {
32-
background-color: #5a47d3;
33-
}
3415

3516
.footer {
3617
background-color: #6f5af8;
3718
padding: 1rem;
3819
text-align: center;
3920
}
40-
41-
.card {
42-
border: 1px solid #ddd;
43-
border-radius: 8px;
44-
overflow: hidden;
45-
transition: transform 0.2s ease;
46-
}
47-
48-
.card:hover {
49-
transform: translateY(-5px);
50-
}
51-
52-
.card-content {
53-
padding: 1rem;
54-
}
55-
56-
.card-footer-item a {
57-
text-decoration: none;
58-
color: #fff;
59-
}
60-
61-
.card-footer-item a:hover {
62-
background-color: #5a47d3;
63-
}
64-
21+
6522
@media (max-width: 768px) {
6623
.columns {
6724
margin: 0;
@@ -73,40 +30,3 @@
7330
padding: 2rem 0.5rem;
7431
}
7532
}
76-
77-
.dark-mode .btnclr {
78-
background-color: #4c3d91;
79-
}
80-
81-
.dark-mode .card {
82-
border: 1px solid #444;
83-
}
84-
85-
.dark-mode .footer {
86-
background-color: #444;
87-
}
88-
89-
.dark-mode .card-footer-item a {
90-
color: #ddd;
91-
}
92-
93-
.dark-mode .card-footer-item a:hover {
94-
background-color: #3c2a7c;
95-
}
96-
97-
.toggle-theme-btn {
98-
margin-top: 20px;
99-
padding: 10px 15px;
100-
background-color: #6f5af8;
101-
color: white;
102-
border: none;
103-
cursor: pointer;
104-
border-radius: 5px;
105-
font-size: 16px;
106-
transition: background-color 0.3s ease;
107-
}
108-
109-
.toggle-theme-btn:hover {
110-
background-color: #5a47d3;
111-
}
112-

0 commit comments

Comments
 (0)