закругления у <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 { header, main, footer {
margin: 5px; margin: 5px;
margin-bottom: 0;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
gap: 10px; gap: 10px;
@ -63,6 +64,13 @@ a {
background-color: #77abbb; background-color: #77abbb;
color: black; color: black;
text-decoration: none; text-decoration: none;
border-radius: 5px;
padding: 0 5px;
transition: background-color 0.1s ease;
}
a:hover {
background-color: #778bbb;
} }
pre { pre {
@ -121,6 +129,9 @@ details[open] > summary {
} }
@media (max-width: 800px) { @media (max-width: 800px) {
a:hover {
background-color: #77abbb;
}
header, footer, main { header, footer, main {
flex: 1 100%; flex: 1 100%;
} }

View File

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