generated from mirzaev/pot
after Ksenia
This commit is contained in:
@@ -10,6 +10,7 @@ import("../modules/hotline.mjs").then((module) => {
|
|||||||
instance.alive = true;
|
instance.alive = true;
|
||||||
instance.wheel = false;
|
instance.wheel = false;
|
||||||
instance.delta = 3;
|
instance.delta = 3;
|
||||||
|
instance.step = -0.5;
|
||||||
|
|
||||||
// Starting the hotline instance
|
// Starting the hotline instance
|
||||||
instance.start();
|
instance.start();
|
||||||
@@ -18,4 +19,4 @@ import("../modules/hotline.mjs").then((module) => {
|
|||||||
document.addEventListener('dragstart', function(event) {
|
document.addEventListener('dragstart', function(event) {
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
return false;
|
return false;
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -1,38 +1,66 @@
|
|||||||
section#projects {
|
section#projects {
|
||||||
> h2.title {
|
>h2.title {
|
||||||
font-size: 2.4rem;
|
font-size: 2.4rem;
|
||||||
font-family: "Bahnschrift";
|
font-family: "Bahnschrift";
|
||||||
margin: 0.1em 0 0.2em 0;
|
margin: 0.1em 0 0.2em 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
div.hotline {
|
div.hotline {
|
||||||
max-width: 100vw;
|
width: 100vw;
|
||||||
max-height: 360px;
|
height: 250px;
|
||||||
height: max(16vw, 16vh);
|
display: inline-flex;
|
||||||
display: inline-flex;
|
gap: 15px;
|
||||||
gap: 15px;
|
|
||||||
|
|
||||||
> :is(article, div) {
|
> :is(article, div) {
|
||||||
position: relative;
|
position: relative;
|
||||||
display: flex;
|
min-width: 220px;
|
||||||
justify-content: center;
|
max-width: 220px;
|
||||||
align-items: center;
|
width: 220px;
|
||||||
text-align: centr;
|
height: 100%;
|
||||||
|
overflow: hidden;
|
||||||
|
border-radius: 0.75rem;
|
||||||
|
|
||||||
min-width: 200px;
|
h4 {
|
||||||
height: 100%;
|
position: absolute;
|
||||||
border-radius: 1.125rem;
|
z-index: 50;
|
||||||
overflow: hidden;
|
justify-self: center;
|
||||||
background: rgb(0, 0, 0);
|
bottom: 0.4rem;
|
||||||
|
margin: unset;
|
||||||
|
padding: 0.4rem 1rem 0.3rem;
|
||||||
|
font-family: "Bahnschrift";
|
||||||
|
font-size: 1.2rem;
|
||||||
|
font-weight: 900;
|
||||||
|
color: #fff;
|
||||||
|
text-shadow: 2px 2px 3px #000;
|
||||||
|
}
|
||||||
|
|
||||||
p {
|
img.background {
|
||||||
font-family: "Bahnschrift";
|
position: absolute;
|
||||||
font-size: 1.8rem;
|
top: 0;
|
||||||
font-weight: bold;
|
width: 100%;
|
||||||
color: #ffffff;
|
height: 100%;
|
||||||
text-shadow: 5px 5px 2px rgba(14, 165, 2335, 0.7);
|
object-fit: cover;
|
||||||
text-align: center;
|
}
|
||||||
}
|
|
||||||
}
|
&:is(.pechatalka) {
|
||||||
}
|
>img.background {
|
||||||
|
filter: blur(1.5px) brightness(0.8);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
&:is(.understyle) {
|
||||||
|
>img.background {
|
||||||
|
object-position: bottom;
|
||||||
|
filter: blur(1px) brightness(0.8);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
&:is(.surikov) {
|
||||||
|
>img.background {
|
||||||
|
object-position: bottom;
|
||||||
|
filter: blur(0.4px) brightness(0.8);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -20,6 +20,7 @@ header {
|
|||||||
}
|
}
|
||||||
|
|
||||||
> a#logotype {
|
> a#logotype {
|
||||||
|
margin-top: -0.4rem;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
font-size: 1.1rem;
|
font-size: 1.1rem;
|
||||||
|
|||||||
Binary file not shown.
|
After Width: | Height: | Size: 1.1 MiB |
Binary file not shown.
|
After Width: | Height: | Size: 90 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 12 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 11 KiB |
@@ -1,48 +1,48 @@
|
|||||||
<section id="projects" class="container unselectable">
|
<section id="projects" class="container unselectable">
|
||||||
|
<div id="wrap" class="hotline unselectable">
|
||||||
<h2 class="title">Проекты</h2>
|
<article class="pechatalka">
|
||||||
<div id="wrap" class="hotline unselectable" data-hotline="true" data-hotline-step="-3" data-hotline-magnetic="center"
|
<h4>ПЕЧАТАЛКА</h4>
|
||||||
data-hotline-interval="10">
|
<img class="background" src="/themes/test/images/projects/pechatalka.gif" alt="pechatalka"/>
|
||||||
|
|
||||||
<article>
|
|
||||||
<p>ZHARKO</p>
|
|
||||||
</article>
|
|
||||||
<article>
|
|
||||||
<p>STCS</p>
|
|
||||||
</article>
|
|
||||||
<article>
|
|
||||||
<p>BRAINROT</p>
|
|
||||||
</article>
|
</article>
|
||||||
|
|
||||||
<article>
|
<article class="understyle">
|
||||||
<p>ZHARKO</p>
|
<h4>under.style</h4>
|
||||||
</article>
|
<img class="background" src="/themes/test/images/projects/understyle.png" alt="under.style"/>
|
||||||
<article>
|
|
||||||
<p>STCS</p>
|
|
||||||
</article>
|
|
||||||
<article>
|
|
||||||
<p>BRAINROT</p>
|
|
||||||
</article>
|
</article>
|
||||||
|
|
||||||
<article>
|
<article class="surikov">
|
||||||
<p>ZHARKO</p>
|
<h4>Музей-библиотека имени Сурикова</h4>
|
||||||
</article>
|
<img class="background" src="/themes/test/images/projects/surikov.png" alt="surikov"/>
|
||||||
<article>
|
|
||||||
<p>STCS</p>
|
|
||||||
</article>
|
|
||||||
<article>
|
|
||||||
<p>BRAINROT</p>
|
|
||||||
</article>
|
</article>
|
||||||
|
|
||||||
<article>
|
<article class="pechatalka">
|
||||||
<p>ZHARKO</p>
|
<h4>ПЕЧАТАЛКА</h4>
|
||||||
</article>
|
<img class="background" src="/themes/test/images/projects/pechatalka.gif" alt="pechatalka"/>
|
||||||
<article>
|
|
||||||
<p>STCS</p>
|
|
||||||
</article>
|
|
||||||
<article>
|
|
||||||
<p>BRAINROT</p>
|
|
||||||
</article>
|
</article>
|
||||||
|
|
||||||
|
<article class="understyle">
|
||||||
|
<h4>under.style</h4>
|
||||||
|
<img class="background" src="/themes/test/images/projects/understyle.png" alt="under.style"/>
|
||||||
|
</article>
|
||||||
|
|
||||||
|
<article class="surikov">
|
||||||
|
<h4>Музей-библиотека имени Сурикова</h4>
|
||||||
|
<img class="background" src="/themes/test/images/projects/surikov.png" alt="surikov"/>
|
||||||
|
</article>
|
||||||
|
|
||||||
|
<article class="pechatalka">
|
||||||
|
<h4>ПЕЧАТАЛКА</h4>
|
||||||
|
<img class="background" src="/themes/test/images/projects/pechatalka.gif" alt="pechatalka"/>
|
||||||
|
</article>
|
||||||
|
|
||||||
|
<article class="understyle">
|
||||||
|
<h4>under.style</h4>
|
||||||
|
<img class="background" src="/themes/test/images/projects/understyle.png" alt="under.style"/>
|
||||||
|
</article>
|
||||||
|
|
||||||
|
<article class="surikov">
|
||||||
|
<h4>Музей-библиотека имени Сурикова</h4>
|
||||||
|
<img class="background" src="/themes/test/images/projects/surikov.png" alt="surikov"/>
|
||||||
|
</article>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|||||||
@@ -0,0 +1,6 @@
|
|||||||
|
<section class="statistic">
|
||||||
|
<div class="accordion">
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
@@ -11,6 +11,7 @@
|
|||||||
|
|
||||||
{% block main %}
|
{% block main %}
|
||||||
{% include '/themes/test/main/blocks/introdution.html' %}
|
{% include '/themes/test/main/blocks/introdution.html' %}
|
||||||
|
{% include '/themes/test/main/blocks/statistics.html' %}
|
||||||
{% include '/themes/test/main/blocks/projects.html' %}
|
{% include '/themes/test/main/blocks/projects.html' %}
|
||||||
{% include '/themes/test/main/blocks/service.html' %}
|
{% include '/themes/test/main/blocks/service.html' %}
|
||||||
{% include '/themes/test/main/blocks/advantages.html' %}
|
{% include '/themes/test/main/blocks/advantages.html' %}
|
||||||
|
|||||||
Reference in New Issue
Block a user