towards njp.ma
This commit is contained in:
parent
a7c48d557d
commit
b24ba91bfc
23 changed files with 167 additions and 524 deletions
|
|
@ -3,7 +3,8 @@
|
|||
box-sizing: border-box;
|
||||
|
||||
a {
|
||||
color: #ee0;
|
||||
color: #000;
|
||||
font-size: 12px;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
|
|
@ -12,13 +13,30 @@
|
|||
font-family: "noto_sans", sans-serif;
|
||||
padding: calc(var(--spacing) /4) var(--spacing);
|
||||
}
|
||||
#films-list {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.film {
|
||||
width: calc(100% / 4 - 16px);
|
||||
margin-top: var(--spacing-2);
|
||||
h1 {
|
||||
font-weight: bold;
|
||||
font-size: 20px;
|
||||
}
|
||||
figure {
|
||||
img {
|
||||
display: none;
|
||||
max-width: 100%;
|
||||
max-height: 100%;
|
||||
object-fit: contain;
|
||||
}
|
||||
img:first-child {
|
||||
display: inherit
|
||||
}
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 799px) {
|
||||
.film {
|
||||
|
|
@ -59,10 +77,26 @@ main > .film {
|
|||
font-size: 18px;
|
||||
margin-top: var(--spacing-2);
|
||||
}
|
||||
.bio {
|
||||
margin-top: var(--spacing-2);
|
||||
div {
|
||||
margin-top: var(--spacing);
|
||||
}
|
||||
|
||||
.videos {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 16px;
|
||||
justify-content: center;
|
||||
.video {
|
||||
width: calc(100% / 4 - 16px);
|
||||
figure {
|
||||
img {
|
||||
max-width: 100%;
|
||||
max-height: 100%;
|
||||
object-fit: contain;
|
||||
}
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 799px) {
|
||||
.video {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -117,7 +151,6 @@ main > .film {
|
|||
z-index: 200;
|
||||
|
||||
a {
|
||||
color: #ee0;
|
||||
text-decoration: none;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
|
@ -204,4 +237,4 @@ main > .film {
|
|||
video.player.fullscreen:-webkit-full-screen {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -36,17 +36,17 @@
|
|||
}
|
||||
|
||||
body.animated {
|
||||
background: var(--gradient-body);
|
||||
animation: background_animation 60s ease-in-out infinite;
|
||||
//background: var(--gradient-body);
|
||||
//animation: background_animation 60s ease-in-out infinite;
|
||||
background-size: 400% 100%;
|
||||
color: #ddd;
|
||||
}
|
||||
|
||||
body.animated-text {
|
||||
animation: text_animation 60s ease-in-out infinite;
|
||||
//animation: text_animation 60s ease-in-out infinite;
|
||||
}
|
||||
body.animated.animated-text {
|
||||
animation: background_animation 60s ease-in-out infinite, text_animation 60s ease-in-out infinite;
|
||||
//animation: background_animation 60s ease-in-out infinite, text_animation 60s ease-in-out infinite;
|
||||
}
|
||||
|
||||
body {
|
||||
|
|
@ -93,4 +93,4 @@ nav {
|
|||
100% {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -16,11 +16,11 @@
|
|||
|
||||
.animated-title {
|
||||
.text, .text-about {
|
||||
background-image: linear-gradient(to right, var(--animated-title-color-1), var(--animated-title-color-2) , var(--animated-title-color-3), var(--animated-title-color-4));
|
||||
-webkit-background-clip: text;
|
||||
background-clip: text;
|
||||
color: transparent;
|
||||
animation: animated_title_animation 60s ease-in-out infinite;
|
||||
//background-image: linear-gradient(to right, var(--animated-title-color-1), var(--animated-title-color-2) , var(--animated-title-color-3), var(--animated-title-color-4));
|
||||
//-webkit-background-clip: text;
|
||||
//background-clip: text;
|
||||
//color: transparent;
|
||||
//animation: animated_title_animation 60s ease-in-out infinite;
|
||||
background-size: 400% 100%;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue