закругления у <a>, чуть чуть поменял текст в header

design
serr 2025-06-06 01:23:22 +03:00
parent 6dbfdf7193
commit 71e2c43dbb
2 changed files with 12 additions and 2 deletions

View File

@ -16,6 +16,7 @@ body {
header, main, footer {
margin: 5px;
margin-bottom: 0;
display: flex;
flex-direction: column;
gap: 10px;
@ -63,6 +64,13 @@ a {
background-color: #77abbb;
color: black;
text-decoration: none;
border-radius: 5px;
padding: 0 5px;
transition: background-color 0.1s ease;
}
a:hover {
background-color: #778bbb;
}
pre {
@ -121,6 +129,9 @@ details[open] > summary {
}
@media (max-width: 800px) {
a:hover {
background-color: #77abbb;
}
header, footer, main {
flex: 1 100%;
}

View File

@ -19,8 +19,7 @@
</div>
<div>
<p>
> <a href="/">main page</a><br/>
> <a href="/posts/">posts section</a>
see <a href="/">main page</a> or go to <a href="/posts/">posts section</a>
</p>
</div>
<div>