mirror of
https://git.gay/DeltaStudio/PufokReactApp.git
synced 2025-07-18 05:42:24 +07:00
77 lines
1.8 KiB
CSS
77 lines
1.8 KiB
CSS
:root {
|
|
--link-color: rgb(245, 132, 79);
|
|
--link-hover-color: rgb(238, 127, 75);
|
|
}
|
|
|
|
body {
|
|
font-family: jetbrains-mono, monospace;
|
|
margin: 0;
|
|
padding: 0;
|
|
color: rgb(181, 221, 255); /* текст */
|
|
}
|
|
|
|
/* Контейнер для фона */
|
|
.full-screen-background {
|
|
background-image: url('https://dafoxer.pufok.gay/PublicResources/bg.jpg');
|
|
background-size: cover;
|
|
background-position: center;
|
|
background-repeat: no-repeat;
|
|
width: 100%;
|
|
height: 100vh;
|
|
position: absolute; /* Позиционируем фон за контентом */
|
|
top: 0;
|
|
left: 0;
|
|
z-index: -1; /* Отправляем фон назад */
|
|
opacity: 1; /* Прозрачность фона */
|
|
mix-blend-mode: overlay; /* Режим наложения */
|
|
}
|
|
|
|
.full-screen-background::after {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: rgba(0, 0, 0, 0.526); /* Затемнение */
|
|
z-index: 0;
|
|
}
|
|
|
|
/* Обёртка для всего контента */
|
|
.app {
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 100vh;
|
|
position: relative; /* Делаем контент поверх фона */
|
|
z-index: 1; /* Убеждаемся, что контент над фоном */
|
|
}
|
|
|
|
.page {
|
|
padding: 1rem;
|
|
}
|
|
|
|
.navbar ul {
|
|
list-style: none;
|
|
padding: 0;
|
|
display: flex;
|
|
gap: 1rem;
|
|
padding: 1rem;
|
|
background: rgba(52, 6, 42, 0.8); /* Полупрозрачный фон для навбара */
|
|
}
|
|
|
|
.navbar a {
|
|
color: var(--link-color);
|
|
text-decoration: none;
|
|
}
|
|
|
|
.navbar a:hover {
|
|
color: var(--link-hover-color);
|
|
}
|
|
|
|
.footer {
|
|
text-align: center;
|
|
padding: 1.5rem;
|
|
background: rgba(52, 6, 42, 0.8); /* Полупрозрачный фон для футера */
|
|
color: rgb(238, 127, 75);
|
|
margin-top: auto;
|
|
} |