This commit is contained in:
j 2021-11-22 19:42:53 +01:00
parent f0a3c28759
commit ef160a1923
5 changed files with 106 additions and 104 deletions

View file

@ -121,9 +121,11 @@ main > .film {
img { img {
width: 25%; width: 25%;
margin: auto; margin: auto;
padding-bottom: 64px; padding-bottom: 32px;
opacity: 0.5;
&:hover { &:hover {
filter: invert(1); filter: invert(1);
opacity: 1;
} }
} }
} }

View file

@ -70,4 +70,25 @@
h3, .h3 { h3, .h3 {
font-size: 21px; font-size: 21px;
} }
.home {
z-index: 1000;
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
display: flex;
flex-direction: column;
.box {
margin: auto;
background: rgba(0,0,0,0.5);
padding: 16px;
border-radius: 2px;
.font-size-sm {
display: flex;
gap: 16px;
justify-content: center;
}
}
}
} }

View file

@ -95,31 +95,3 @@ nav {
opacity: 1; opacity: 1;
} }
} }
.index {
.home {
z-index: 1000;
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
display: flex;
flex-direction: column;
.box {
margin: auto;
background: rgba(0,0,0,0.5);
padding: 16px;
border-radius: 2px;
.font-size-sm {
display: flex;
gap: 16px;
justify-content: center;
}
}
}
}

View file

@ -30,10 +30,17 @@
} }
a { a {
color: white; color: var(--color-link);
text-decoration: none; text-decoration: none;
font-size: 17px; font-size: 17px;
margin-left: var(--spacing); margin-left: var(--spacing);
font-weight: bold;
&.title {
font-size: 34px;
font-weight: bold;
font-family: "wrong font";
color: #ddd;
}
@media screen and (max-width: 799px) { @media screen and (max-width: 799px) {
&.title { &.title {

View file

@ -13,7 +13,7 @@
</head> </head>
<body class="{% block body_class%}{% endblock %}"> <body class="{% block body_class%}{% endblock %}">
<div class="topnav"> <div class="topnav">
<a href="/" class="title animated-title"> <a href="/" class="title font-family-wrong">
<div class="title-text text"> <div class="title-text text">
njp.ma njp.ma
</div> </div>