geo_c wrote: Wed Mar 19, 2025 7:21 pm
stemsee wrote: Tue Mar 18, 2025 3:36 am
geo_c wrote: Tue Mar 18, 2025 12:47 am
And it would be nice if every time you hovered over certain areas, giant pop-ups cover the entire screen with tiny cancel buttons hidden in the corners.
That would bring it up to the level of most websites nowadays. 
I have no idea what types of websites hide cancel buttons, to force you to watch ads! 
Since @Sofiya went quiet, she must be working on those 15 impossible captcha puzzles 
I hope she knows I was only making a joke.
I write two scripts for dark and light theme
and I can't understand why ( body { } ) doesn't want to override the color. This is stupid ( *.scss ) really incomprehensible. Why not write the color of themes in ( css ) .
Or maybe my basic knowledge is not enough to understand this. 
dark-theme.css
Code: Select all
/* dark-theme.css */
:root {
--base-color: #1e1e2e !important;
--code-background-color: #cdd6f3 !important;
--border-color: rgba(--text-color, 0.5) !important;
--overlay-color: #1e1e2e !important;
--sidebar-background-color: #181825 !important;
--background-color: #181825 !important;
--text-color: #cdd6f3 !important;
--accent-color: #c09bef !important;
}
body {
background: var(--background-color);
color: var(--text-color);
}
body a {
color: var(--accent-color);
}
.sidebar .menu {
font-family: "Jost", sans-serif;
font-size: 32px;
}
.sidebar li a {
/* position: relative; */
color: #cdd6f3; /* цвет текста в баре */
}
.sidebar .contact-list {
font-size: 24px;
}
/* цвет текста в баре соц-сети */
.sidebar .contact-list a {
color: #cdd6f3;
text-decoration: none;
}
/* часть сидебара с кнопками */
.wrapper {
position: relative;
width: 100%;
height: 100%;
background-color: #181825;
color: #cdd6f3;
}
/* базовый блочный элемент */
div {
background-color: #181825;
/* display: block; */
/* unicode-bidi: isolate; */
}
/* линия бара */
* {
scrollbar-color: #a3aac5 #2f3234;
}
/* надписи */
p {
background-color: #181825;
/* display: block; */
}
/* нижний блок */
html, body, input, textarea, select, button {
background: #11111b;
color: #cdd6f3;
height:auto;
}
.btn {
display: inline-block;
padding: 2px 10px 2px 10px;
border: 1px solid #a6adc8;
border-radius: 8px;
background-color: #18182505;
color: #a6adc8;
font-weight: 500;
text-align: center;
text-decoration: none;
cursor: pointer;
border-color: #a6adc8;
}
.btn:hover {
transition: 0.5s;
}
.btn:focus {
background-color: #021635;
transition: 0.7s
}
a {
color: #cdd6f3;
}
a:hover, a:focus {
/* color: var(--accent-color); */
color: #cba6f7;
/* text-decoration: underline; */
}
.site-title:hover {
color: #cba6f7;
transition: 0.7s;
text-decoration: underline; /* dotted , double */
text-decoration-thickness: 1px;
}
h1, h2, h3, h4, h5, h6 {
/* font-family: "Fira Sans", sans-serif; */
font-family: "Inter", sans-serif;
}
/* .icon--github {
fill: #b4befe;
}
.icon--email {
fill: #b4befe;
}
.icon--twitter {
fill: #b4befe;
}
.icon--rss {
fill: #b4befe;
} */
.highlight pre {
width: 100%;
background-color: #1e1e2e;
}
/* .header .container, .footer .container {
background-color: #181825;
} */
header {
display: block;
background-color: #181825;
}