mirror of
https://git.gay/DeltaStudio/PufokReactApp.git
synced 2025-07-18 13:52:25 +07:00
major updates
This commit is contained in:
parent
09df1d2acc
commit
798a27ad91
37
src/App.css
37
src/App.css
@ -7,14 +7,43 @@ body {
|
|||||||
font-family: jetbrains-mono, monospace;
|
font-family: jetbrains-mono, monospace;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
background: #140f10;
|
color: rgb(181, 221, 255); /* текст */
|
||||||
color: rgb(241, 209, 190);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Контейнер для фона */
|
||||||
|
.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 {
|
.app {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
min-height: 100vh;
|
min-height: 100vh;
|
||||||
|
position: relative; /* Делаем контент поверх фона */
|
||||||
|
z-index: 1; /* Убеждаемся, что контент над фоном */
|
||||||
}
|
}
|
||||||
|
|
||||||
.page {
|
.page {
|
||||||
@ -26,8 +55,8 @@ body {
|
|||||||
padding: 0;
|
padding: 0;
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: 1rem;
|
gap: 1rem;
|
||||||
/* background: #18161f; */
|
|
||||||
padding: 1rem;
|
padding: 1rem;
|
||||||
|
background: rgba(52, 6, 42, 0.8); /* Полупрозрачный фон для навбара */
|
||||||
}
|
}
|
||||||
|
|
||||||
.navbar a {
|
.navbar a {
|
||||||
@ -42,7 +71,7 @@ body {
|
|||||||
.footer {
|
.footer {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
padding: 1.5rem;
|
padding: 1.5rem;
|
||||||
/* background: #18161f; */
|
background: rgba(52, 6, 42, 0.8); /* Полупрозрачный фон для футера */
|
||||||
color: rgb(238, 127, 75);
|
color: rgb(238, 127, 75);
|
||||||
margin-top: auto;
|
margin-top: auto;
|
||||||
}
|
}
|
@ -11,6 +11,10 @@ import NotFound from './pages/NotFound.js';
|
|||||||
function App() {
|
function App() {
|
||||||
return (
|
return (
|
||||||
<div className="app">
|
<div className="app">
|
||||||
|
{/* Фоновый слой */}
|
||||||
|
<div className="full-screen-background"></div>
|
||||||
|
|
||||||
|
{/* Контент поверх фона */}
|
||||||
<Navbar />
|
<Navbar />
|
||||||
<Routes>
|
<Routes>
|
||||||
<Route path="/" element={<Home />} />
|
<Route path="/" element={<Home />} />
|
||||||
|
@ -7,10 +7,10 @@ function Contact() {
|
|||||||
<p><i>в разработке</i></p>
|
<p><i>в разработке</i></p>
|
||||||
<h1>Кнопочки</h1>
|
<h1>Кнопочки</h1>
|
||||||
<p>интересные кнопочки на другие ресурсы:</p>
|
<p>интересные кнопочки на другие ресурсы:</p>
|
||||||
<a href="https://pufok.gay/" target="_blank" rel="noreferrer">
|
<a href="https://dafoxer.pufok.gay/" title="dafoxer.pufok.gay" target="_blank" rel="noreferrer">
|
||||||
<img
|
<img
|
||||||
src="https://pufok.gay/PublicResources/webring.png"
|
src="https://dafoxer.pufok.gay/PublicResources/webring.png"
|
||||||
alt="pufok.gay"
|
alt="dafoxer.pufok.gay"
|
||||||
></img>
|
></img>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user