Skip to content
Snippets Groups Projects
Commit 1f913090 authored by Tomáš Hozman's avatar Tomáš Hozman Committed by Tomáš Valenta
Browse files

added 2022 results, removed no longer applicable image size doubler

parent 243fdac2
No related branches found
No related tags found
No related merge requests found
Pipeline #10722 passed
......@@ -47,12 +47,20 @@ export default {
}
&__left {
@media (max-width: 1120px) {
width: 40%;
}
@media (max-width: 830px) {
width: auto;
}
}
&__right {
@media (max-width: 1120px) {
width: 60%;
}
@media (max-width: 830px) {
width: 100%;
}
......
......@@ -13,6 +13,10 @@
line-height: 1;
margin-right: 20px;
@media (max-width: 700px) {
margin-top: auto;
}
@media (max-width: 420px) {
margin-right: 35px;
}
......
......@@ -2,6 +2,7 @@
<nav class="navigation">
<nuxt-link to="/" exact>Časová osa</nuxt-link>
<nuxt-link to="/o-projektu">O projektu</nuxt-link>
<nuxt-link to="/vysledky-2022">Výsledky 2022</nuxt-link>
</nav>
</template>
......@@ -12,6 +13,7 @@
display: flex;
justify-content: flex-end;
gap: 10%;
margin-left: 0;
margin-right: 10%;
......@@ -20,10 +22,13 @@
flex: 1;
}
@media (max-width: 700px) {
flex-wrap: wrap;
}
@media (max-width: 590px) {
width: 100%;
margin-left: 0;
margin-right: 0;
margin-bottom: 15px;
......@@ -33,7 +38,6 @@
font-family: $font-secondary;
font-weight: 700;
white-space: nowrap;
margin-right: 10%;
&:last-of-type {
@media (max-width: 590px) {
......
<template>
<p>
Přehled toho nejdůležitějšího, na čem Piráti pracují nejen v Poslanecké sněmovně<br/>
Přehled toho nejdůležitějšího, na čem Piráti pracují nejen v Poslanecké sněmovně<br>
</p>
</template>
......@@ -13,13 +13,14 @@ p {
padding-left: 20px;
@media (max-width: 1000px) {
font-size: 16px;
@media (max-width: 1250px) {
padding-left: 0;
max-width: 380px;
font-size: 17px;
}
@media (max-width: 830px) {
display: none;
@media (max-width: 1000px) {
display: none;
}
}
</style>
......@@ -42,7 +42,6 @@ export default {
},
methods: {
renderContent(content) {
content = content.replace('.jpg"', '@2x.jpg"');
content = content.replace('http://admin.piratipracuji.cz/uploads/', 'https://res.cloudinary.com/pirati/image/fetch/w_1600,q_auto,f_auto/https://admin.piratipracuji.cz/uploads/');
return content;
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment