border at content
This commit is contained in:
parent
3f60d474e7
commit
7bbf7900ca
@ -35,6 +35,7 @@ h3 {
|
||||
font-family: var(--header-font);
|
||||
font-weight: 400;
|
||||
text-align: center;
|
||||
padding-inline: 2rem;
|
||||
}
|
||||
|
||||
h1 {
|
||||
@ -42,11 +43,11 @@ h1 {
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: clamp(2.5rem, 1.75rem + 3vw, 4rem);
|
||||
font-size: clamp(2rem, 1.25rem + 3vw, 3rem);
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: clamp(2rem, 1.25rem + 3vw, 3.5rem);
|
||||
font-size: clamp(1.5rem, 1.25rem + 3vw, 2.5rem);
|
||||
}
|
||||
|
||||
.block-center {
|
||||
@ -147,22 +148,39 @@ h3 {
|
||||
.content {
|
||||
grid-area: content;
|
||||
position: relative;
|
||||
margin-top: 6rem;
|
||||
padding-inline: 2rem;
|
||||
margin-top: 3rem;
|
||||
|
||||
&::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: -7rem;
|
||||
left: -20rem;
|
||||
width: 600px;
|
||||
height: 800px;
|
||||
position: fixed;
|
||||
top: -1rem;
|
||||
left: -4rem;
|
||||
width: 300px;
|
||||
height: 400px;
|
||||
|
||||
background-image: url('/static/assets/border600.png');
|
||||
background-image: url('/static/assets/border300.png');
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
}
|
||||
|
||||
@media (width > 1000px) {
|
||||
.content {
|
||||
margin-top: 6rem;
|
||||
|
||||
&::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: -7rem;
|
||||
left: -20rem;
|
||||
width: 600px;
|
||||
height: 800px;
|
||||
|
||||
background-image: url('/static/assets/border600.png');
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.footer {
|
||||
grid-area: footer;
|
||||
|
@ -14,6 +14,7 @@
|
||||
</head>
|
||||
|
||||
<body hx-boost="true">
|
||||
{{template "partials/header"}}
|
||||
<div class="content">
|
||||
{{embed}}
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user