fix: header
This commit is contained in:
parent
fce6f51db2
commit
de96b38389
@ -39,6 +39,9 @@
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
line-height: 2;
|
line-height: 2;
|
||||||
font-size: 1.1rem;
|
font-size: 1.1rem;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.header {
|
.header {
|
||||||
@ -46,6 +49,7 @@
|
|||||||
font-family: Monocraft;
|
font-family: Monocraft;
|
||||||
color: white;
|
color: white;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
transition: 0.5s;
|
||||||
}
|
}
|
||||||
|
|
||||||
.context {
|
.context {
|
||||||
@ -53,10 +57,18 @@
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
color: rgba(225, 225, 225, 0.6);
|
color: rgba(225, 225, 225, 0.6);
|
||||||
}
|
}
|
||||||
|
.translate-header {
|
||||||
|
transition: 0.5s;
|
||||||
|
}
|
||||||
|
|
||||||
|
.translate-header:hover {
|
||||||
|
transform: translateY(6%);
|
||||||
|
}
|
||||||
|
|
||||||
.container {
|
.container {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
|
height: 100%;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -119,8 +131,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.headerblock {
|
.headerblock {
|
||||||
width: 65%;
|
width: clamp(60rem, 65% , 80rem);
|
||||||
height: 20%;
|
height: clamp(10rem, 20%, 10rem);
|
||||||
padding: 1rem;
|
padding: 1rem;
|
||||||
margin-left: 0rem;
|
margin-left: 0rem;
|
||||||
border-color: #000000;
|
border-color: #000000;
|
||||||
@ -128,11 +140,15 @@
|
|||||||
border: none;
|
border: none;
|
||||||
box-shadow: 1em 1em 0em 0px rgba(186, 65, 166, 0.7);
|
box-shadow: 1em 1em 0em 0px rgba(186, 65, 166, 0.7);
|
||||||
transition: 0.5s;
|
transition: 0.5s;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
|
|
||||||
.headerblock:hover {
|
.headerblock:hover {
|
||||||
box-shadow: 1.5em 1.5em 0em 0px rgba(186, 65, 166, 0.7);
|
box-shadow: 1.5em 1.5em 0em 0px rgba(186, 65, 166, 0.7);
|
||||||
padding: 1.5rem;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.info1 {
|
.info1 {
|
||||||
@ -141,6 +157,11 @@
|
|||||||
padding: 0.85rem;
|
padding: 0.85rem;
|
||||||
margin-top: 3.5rem;
|
margin-top: 3.5rem;
|
||||||
transition: 1s;
|
transition: 1s;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
flex-direction: column;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.info1:hover {
|
.info1:hover {
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
<div class="headerblock divv">
|
<div class="headerblock divv">
|
||||||
<a href="{{ url_for('index') }}"><h1 class="header">CTF для самых маленьких</h1></a>
|
<div class="translate-header"><a href="{{ url_for('index') }}"><h1 class="header">CTF для самых маленьких<h3 class="context">Для тех кто хотел бы разобраться, но не знает, с чего начать</h3></h1></a></div>
|
||||||
<h3 class="context">Для тех кто хотел бы разобраться, но не знает, с чего начать</h3>
|
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user