css layout
This commit is contained in:
parent
136f83f80a
commit
3c7901ff7a
@ -6,7 +6,7 @@ description = "PKM, kamarádi z Gymnázia Turnov pořádají ples pro studenty v
|
||||
default_language = "cs"
|
||||
|
||||
compile_sass = true
|
||||
minify_html = true
|
||||
minify_html = false
|
||||
|
||||
# Whether to build a search index to be used later on by a JavaScript library
|
||||
build_search_index = false
|
||||
|
13
sass/global.scss
Normal file
13
sass/global.scss
Normal file
@ -0,0 +1,13 @@
|
||||
* {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: 'Kanit', sans-serif;
|
||||
}
|
||||
|
||||
main {
|
||||
margin: 0 var(--container-size);
|
||||
}
|
@ -1,11 +1,27 @@
|
||||
nav {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
gap: 1rem;
|
||||
justify-content: space-between;
|
||||
background-color: var(--clr-melon);
|
||||
padding: 1rem var(--container-size);
|
||||
|
||||
.nav-right, .nav-left {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 2rem;
|
||||
}
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
font-size: 1.5rem;
|
||||
color: navy;
|
||||
font-weight: bold;
|
||||
color: var(--clr-murrey);
|
||||
}
|
||||
|
||||
img {
|
||||
height: 2rem;
|
||||
}
|
||||
|
||||
.nav-left img {
|
||||
height: 4rem;
|
||||
}
|
||||
}
|
27
sass/main.scss
Normal file
27
sass/main.scss
Normal file
@ -0,0 +1,27 @@
|
||||
main {
|
||||
display: flex;
|
||||
section#news {
|
||||
width: 60vw;
|
||||
}
|
||||
aside {
|
||||
width: 40vw;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
margin: 2rem 0;
|
||||
|
||||
a.vstupenky {
|
||||
background-color: orange;
|
||||
width: 80%;
|
||||
padding: 1rem 2rem;
|
||||
color: var(--clr-murrey);
|
||||
text-decoration: none;
|
||||
font-weight: bold;
|
||||
font-size: 3rem;
|
||||
border-color: var(--clr-murrey);
|
||||
border-radius: 15px;
|
||||
border-style: solid;
|
||||
border-width: 3px;
|
||||
}
|
||||
}
|
||||
}
|
8
sass/vars.scss
Normal file
8
sass/vars.scss
Normal file
@ -0,0 +1,8 @@
|
||||
:root {
|
||||
--clr-blue: #576ca8;
|
||||
--clr-lavender: #d3d2ef;
|
||||
--clr-murrey: #79214c;
|
||||
--clr-blush: #cf6379;
|
||||
--clr-melon: #ffadad;
|
||||
--container-size: 40rem;
|
||||
}
|
BIN
static/img/pkmples_logo.png
Normal file
BIN
static/img/pkmples_logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.7 KiB |
12
static/svg/facebook.svg
Normal file
12
static/svg/facebook.svg
Normal file
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
|
||||
<svg fill="#79214c" height="800px" width="800px" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
viewBox="0 0 310 310" xml:space="preserve">
|
||||
<g id="XMLID_834_">
|
||||
<path id="XMLID_835_" d="M81.703,165.106h33.981V305c0,2.762,2.238,5,5,5h57.616c2.762,0,5-2.238,5-5V165.765h39.064
|
||||
c2.54,0,4.677-1.906,4.967-4.429l5.933-51.502c0.163-1.417-0.286-2.836-1.234-3.899c-0.949-1.064-2.307-1.673-3.732-1.673h-44.996
|
||||
V71.978c0-9.732,5.24-14.667,15.576-14.667c1.473,0,29.42,0,29.42,0c2.762,0,5-2.239,5-5V5.037c0-2.762-2.238-5-5-5h-40.545
|
||||
C187.467,0.023,186.832,0,185.896,0c-7.035,0-31.488,1.381-50.804,19.151c-21.402,19.692-18.427,43.27-17.716,47.358v37.752H81.703
|
||||
c-2.762,0-5,2.238-5,5v50.844C76.703,162.867,78.941,165.106,81.703,165.106z"/>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 942 B |
1
static/svg/instagram.svg
Normal file
1
static/svg/instagram.svg
Normal file
@ -0,0 +1 @@
|
||||
<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" stroke=""><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"> <path fill-rule="evenodd" clip-rule="evenodd" d="M12 18C15.3137 18 18 15.3137 18 12C18 8.68629 15.3137 6 12 6C8.68629 6 6 8.68629 6 12C6 15.3137 8.68629 18 12 18ZM12 16C14.2091 16 16 14.2091 16 12C16 9.79086 14.2091 8 12 8C9.79086 8 8 9.79086 8 12C8 14.2091 9.79086 16 12 16Z" fill="#79214c"></path> <path d="M18 5C17.4477 5 17 5.44772 17 6C17 6.55228 17.4477 7 18 7C18.5523 7 19 6.55228 19 6C19 5.44772 18.5523 5 18 5Z" fill="#79214c"></path> <path fill-rule="evenodd" clip-rule="evenodd" d="M1.65396 4.27606C1 5.55953 1 7.23969 1 10.6V13.4C1 16.7603 1 18.4405 1.65396 19.7239C2.2292 20.8529 3.14708 21.7708 4.27606 22.346C5.55953 23 7.23969 23 10.6 23H13.4C16.7603 23 18.4405 23 19.7239 22.346C20.8529 21.7708 21.7708 20.8529 22.346 19.7239C23 18.4405 23 16.7603 23 13.4V10.6C23 7.23969 23 5.55953 22.346 4.27606C21.7708 3.14708 20.8529 2.2292 19.7239 1.65396C18.4405 1 16.7603 1 13.4 1H10.6C7.23969 1 5.55953 1 4.27606 1.65396C3.14708 2.2292 2.2292 3.14708 1.65396 4.27606ZM13.4 3H10.6C8.88684 3 7.72225 3.00156 6.82208 3.0751C5.94524 3.14674 5.49684 3.27659 5.18404 3.43597C4.43139 3.81947 3.81947 4.43139 3.43597 5.18404C3.27659 5.49684 3.14674 5.94524 3.0751 6.82208C3.00156 7.72225 3 8.88684 3 10.6V13.4C3 15.1132 3.00156 16.2777 3.0751 17.1779C3.14674 18.0548 3.27659 18.5032 3.43597 18.816C3.81947 19.5686 4.43139 20.1805 5.18404 20.564C5.49684 20.7234 5.94524 20.8533 6.82208 20.9249C7.72225 20.9984 8.88684 21 10.6 21H13.4C15.1132 21 16.2777 20.9984 17.1779 20.9249C18.0548 20.8533 18.5032 20.7234 18.816 20.564C19.5686 20.1805 20.1805 19.5686 20.564 18.816C20.7234 18.5032 20.8533 18.0548 20.9249 17.1779C20.9984 16.2777 21 15.1132 21 13.4V10.6C21 8.88684 20.9984 7.72225 20.9249 6.82208C20.8533 5.94524 20.7234 5.49684 20.564 5.18404C20.1805 4.43139 19.5686 3.81947 18.816 3.43597C18.5032 3.27659 18.0548 3.14674 17.1779 3.0751C16.2777 3.00156 15.1132 3 13.4 3Z" fill="#79214c"></path> </g></svg>
|
After Width: | Height: | Size: 2.1 KiB |
1
static/svg/youtube.svg
Normal file
1
static/svg/youtube.svg
Normal file
@ -0,0 +1 @@
|
||||
<svg viewBox="0 -3 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="#000000"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"> <title>youtube [#168]</title> <desc>Created with Sketch.</desc> <defs> </defs> <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> <g id="Dribbble-Light-Preview" transform="translate(-300.000000, -7442.000000)" fill="#79214c"> <g id="icons" transform="translate(56.000000, 160.000000)"> <path d="M251.988432,7291.58588 L251.988432,7285.97425 C253.980638,7286.91168 255.523602,7287.8172 257.348463,7288.79353 C255.843351,7289.62824 253.980638,7290.56468 251.988432,7291.58588 M263.090998,7283.18289 C262.747343,7282.73013 262.161634,7282.37809 261.538073,7282.26141 C259.705243,7281.91336 248.270974,7281.91237 246.439141,7282.26141 C245.939097,7282.35515 245.493839,7282.58153 245.111335,7282.93357 C243.49964,7284.42947 244.004664,7292.45151 244.393145,7293.75096 C244.556505,7294.31342 244.767679,7294.71931 245.033639,7294.98558 C245.376298,7295.33761 245.845463,7295.57995 246.384355,7295.68865 C247.893451,7296.0008 255.668037,7296.17532 261.506198,7295.73552 C262.044094,7295.64178 262.520231,7295.39147 262.895762,7295.02447 C264.385932,7293.53455 264.28433,7285.06174 263.090998,7283.18289" id="youtube-[#168]"> </path> </g> </g> </g> </g></svg>
|
After Width: | Height: | Size: 1.4 KiB |
@ -4,25 +4,102 @@
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel="stylesheet" href="/vars.css">
|
||||
<link rel="stylesheet" href="/global.css">
|
||||
<link rel="stylesheet" href="/header.css">
|
||||
<link rel="stylesheet" href="/footer.css">
|
||||
<link rel="stylesheet" href="/main.css">
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Kanit:wght@400;700&display=swap" rel="stylesheet">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<nav>
|
||||
<a href="/">Domů</a>
|
||||
<a href="/fotoarchiv">Fotoarchiv</a>
|
||||
<a href="/webarchiv">Webarchiv</a>
|
||||
<div class="nav-left">
|
||||
<a href="/"><img src="/img/pkmples_logo.png" alt="pkmples logo"></a>
|
||||
</div>
|
||||
<div class="nav-right">
|
||||
<a href="#"><img src="/svg/facebook.svg" alt="facebook logo"></img></a>
|
||||
<a href="#"><img src="/svg/instagram.svg" alt="instagram logo"></img></a>
|
||||
<a href="#"><img src="/svg/youtube.svg" alt="youtube logo"></img></a>
|
||||
<a href="/galerie">galerie</a>
|
||||
<a href="/archiv">archiv</a>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
<section id="news">
|
||||
{% block news %} {% endblock %}
|
||||
</section>
|
||||
|
||||
<footer>
|
||||
<a href="https://www.fofrweb.com/" target="_blank">Vytvořeno týmem Fofrweb</a>
|
||||
</footer>
|
||||
|
||||
<main>
|
||||
<section id="news">
|
||||
{% block news %} {% endblock %}
|
||||
</section>
|
||||
<aside>
|
||||
<section class="asidebox">
|
||||
<a href="#" class="vstupenky">VSTUPENKY >></a>
|
||||
<h1>Na co se můžete těšit?</h1>
|
||||
<section class="infotable">
|
||||
<div>
|
||||
<img src="pkmples-web-new-material/ikony/uvod.png" alt="ikonka" />
|
||||
<div class="text">
|
||||
<h3>Slavnostní úvod</h3>
|
||||
<p>
|
||||
Na rozehřátí ti něco pěknýho řeknem a možná se dočkáš i nějakýho toho videjka.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<img src="pkmples-web-new-material/ikony/fotokoutek.png" alt="ikonka" />
|
||||
<div class="text">
|
||||
<h3>Fotokoutek</h3>
|
||||
<p>
|
||||
Vyblejsknem tě samotnýho nebo s celou partou. A to v našem koutku i na tanečním place!
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<img src="pkmples-web-new-material/ikony/muzika.png" alt="ikonka" />
|
||||
<div class="text">
|
||||
<h3>Kvalitní muzika</h3>
|
||||
<p>
|
||||
“Proč nehrají, preceptore?” na našem plese rozhodně neuslyšíš. Zahraje nám BigBand ZUŠ
|
||||
Turnov, kterej do toho umí hrábnout.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<img src="pkmples-web-new-material/ikony/beerpong.png" alt="ikonka" />
|
||||
<div class="text">
|
||||
<h3>Beer pong</h3>
|
||||
<p>
|
||||
Zahraj si o super ceny v týhle obdobě americkýho fenoménu.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<img src="pkmples-web-new-material/ikony/tombola.png" alt="ikonka" />
|
||||
<div class="text">
|
||||
<h3>Tombola</h3>
|
||||
<p>
|
||||
Už teď ty ceny nemáme kam dávat. Tak nám přijď pomoct a nějakou si odnes domů!
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<img src="pkmples-web-new-material/ikony/prekvapeni.png" alt="ikonka" />
|
||||
<div class="text">
|
||||
<h3>Půlnoční překvapení</h3>
|
||||
<p>
|
||||
No, máš se prostě na co těšit. Bude to velký! Co? To už by přece nebylo překvápko.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</section>
|
||||
<footer>
|
||||
<a href="https://www.fofrweb.com/" target="_blank">Vytvořeno týmem Fofrweb</a>
|
||||
</footer>
|
||||
</aside>
|
||||
</main>
|
||||
</body>
|
||||
|
||||
</html>
|
Loading…
Reference in New Issue
Block a user