Linux look like

This commit is contained in:
DarkShyMW
2025-01-16 21:09:16 +03:00
parent 5440068bec
commit fd9b72d6d0
2 changed files with 115 additions and 61 deletions

View File

@@ -1,51 +1,104 @@
/* Основные настройки */
body { body {
background-color: #1e1e1e; background-color: #000;
color: chartreuse; color: #0f0;
font-family: 'Courier New', monospace; font-family: "Courier New", Courier, monospace;
margin: 0; margin: 0;
padding: 0; padding: 0;
} }
/* Заголовки */
.header { .header {
text-align: center; text-align: center;
padding: 20px 0; padding: 10px;
} }
.subtitle { .terminal {
font-size: 1.2rem; max-width: 800px;
display: inline; margin: 20px auto;
border: 2px solid #0f0;
border-radius: 5px;
background-color: #111;
box-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}
.terminal-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 10px;
background-color: #222;
border-bottom: 2px solid #0f0;
}
.circle {
display: inline-block;
width: 12px;
height: 12px;
border-radius: 50%;
margin-right: 5px;
}
.red {
background-color: #ff4d4d;
}
.yellow {
background-color: #ffcc00;
}
.green {
background-color: #4dff4d;
}
.terminal-title {
color: #0f0;
font-weight: bold;
}
.terminal-body {
padding: 15px;
text-align: center;
} }
#blink { #blink {
animation: blink 1.5s infinite; animation: blink 1s step-start infinite;
} }
/* Обо мне */ @keyframes blink {
.about, .projects { 50% {
margin: 20px auto; opacity: 0;
}
}
h1.dark {
margin: 0;
padding: 0;
}
main {
max-width: 800px; max-width: 800px;
padding: 20px; margin: 20px auto;
background-color: #282828; padding: 10px;
border: 1px solid chartreuse; background-color: #111;
border-radius: 10px; border: 2px solid #0f0;
border-radius: 5px;
}
section {
margin-bottom: 20px;
} }
/* Картинка */
.image-section { .image-section {
display: flex; text-align: center;
justify-content: center;
margin: 20px auto;
} }
.centered-image { .centered-image {
max-width: 500px; max-width: 100%;
width: 100%; height: auto;
border-radius: 10px; border: 2px solid #0f0;
border-radius: 5px;
box-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
} }
/* Проекты */
.project-links { .project-links {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
@@ -54,45 +107,35 @@ body {
} }
.btn { .btn {
display: inline-block;
padding: 10px 15px; padding: 10px 15px;
color: #1e1e1e; color: #0f0;
background-color: chartreuse;
text-decoration: none; text-decoration: none;
border-radius: 5px; border: 1px solid #0f0;
font-weight: bold; border-radius: 3px;
background-color: #222;
transition: background-color 0.3s; transition: background-color 0.3s;
} }
.btn:hover { .btn:hover {
background-color: #8bda8b; background-color: #0f0;
color: #000;
} }
/* Подвал */
footer { footer {
max-width: 800px;
margin: 20px auto;
text-align: center; text-align: center;
padding: 20px; padding: 10px;
font-size: 0.9rem; background-color: #111;
color: #d3d3d3; border: 2px solid #0f0;
border-radius: 5px;
} }
footer a { footer p {
color: chartreuse; margin: 5px 0;
text-decoration: none;
} }
/* Анимация */ footer img {
@keyframes blink { margin-top: 10px;
50% { opacity: 0; }
}
/* Адаптивность */
@media (max-width: 768px) {
.about, .projects {
padding: 10px;
}
.btn {
width: 100%;
text-align: center;
}
} }

View File

@@ -12,10 +12,19 @@
</head> </head>
<body> <body>
<header class="header"> <header class="header">
<h1>darkshy@bronyfurry:~ <span class="dark">Dark<span class="shy">Shy</span></span></h1> <div class="terminal">
<h2 class="subtitle">Просто серая пегаска..<span id="blink">|</span></h2> <div class="terminal-header">
<span class="circle red"></span>
<span class="circle yellow"></span>
<span class="circle green"></span>
<span class="terminal-title">darkshy@bronyfurry:~</span>
</div>
<div class="terminal-body">
<h1 class="dark">Просто серая пегаска..<span id="blink">|</span></h1>
</div>
</div>
</header> </header>
<main> <main>
<section class="about"> <section class="about">
<h2>Обо мне</h2> <h2>Обо мне</h2>
@@ -38,13 +47,15 @@
</div> </div>
</section> </section>
</main> </main>
<footer> <footer>
<p>Все права защищены и принадлежат поням.</p> <div class="terminal-footer">
<p><a href="https://github.com/DarkShyMW/darkshy.bronyfurry.com" class="github">Source code at GitHub</a></p> <p>Все права защищены и принадлежат поням.</p>
<a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/"> <p><a href="https://github.com/DarkShyMW/darkshy.bronyfurry.com" class="github">Source code at GitHub</a></p>
<img src="https://i.creativecommons.org/l/by-sa/4.0/88x31.png" alt="Creative Commons License"> <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/">
</a> <img src="https://i.creativecommons.org/l/by-sa/4.0/88x31.png" alt="Creative Commons License">
</a>
</div>
</footer> </footer>
</body> </body>
</html> </html>