Linux look like
This commit is contained in:
147
css/style.css
147
css/style.css
@@ -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;
|
|
||||||
font-size: 0.9rem;
|
|
||||||
color: #d3d3d3;
|
|
||||||
}
|
|
||||||
|
|
||||||
footer a {
|
|
||||||
color: chartreuse;
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Анимация */
|
|
||||||
@keyframes blink {
|
|
||||||
50% { opacity: 0; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Адаптивность */
|
|
||||||
@media (max-width: 768px) {
|
|
||||||
.about, .projects {
|
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
|
background-color: #111;
|
||||||
|
border: 2px solid #0f0;
|
||||||
|
border-radius: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn {
|
footer p {
|
||||||
width: 100%;
|
margin: 5px 0;
|
||||||
text-align: center;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
footer img {
|
||||||
|
margin-top: 10px;
|
||||||
}
|
}
|
||||||
|
|||||||
15
index.html
15
index.html
@@ -12,8 +12,17 @@
|
|||||||
</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>
|
||||||
@@ -40,11 +49,13 @@
|
|||||||
</main>
|
</main>
|
||||||
|
|
||||||
<footer>
|
<footer>
|
||||||
|
<div class="terminal-footer">
|
||||||
<p>Все права защищены и принадлежат поням.</p>
|
<p>Все права защищены и принадлежат поням.</p>
|
||||||
<p><a href="https://github.com/DarkShyMW/darkshy.bronyfurry.com" class="github">Source code at GitHub</a></p>
|
<p><a href="https://github.com/DarkShyMW/darkshy.bronyfurry.com" class="github">Source code at GitHub</a></p>
|
||||||
<a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/">
|
<a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/">
|
||||||
<img src="https://i.creativecommons.org/l/by-sa/4.0/88x31.png" alt="Creative Commons License">
|
<img src="https://i.creativecommons.org/l/by-sa/4.0/88x31.png" alt="Creative Commons License">
|
||||||
</a>
|
</a>
|
||||||
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
Reference in New Issue
Block a user