16 Commits
Author SHA1 Message Date
Mathew 525fe51328 Better nav 2019-10-17 00:01:46 +02:00
e515554240 Improved structure
Co-authored-by: Mateusz Pstrucha <pstrucha.mateusz@gmail.com>
Co-authored-by: HichuYamichu <koziolek1600@op.pl>
2019-10-14 23:21:03 +02:00
sebafudi 1bee5ad56b Basic HTML structure 2019-10-14 18:10:37 +02:00
sebafudi 270070866e Fixed resources paths 2019-10-14 15:40:49 +02:00
sebafudi 887b87f71c Merge branch 'html-structure' of https://github.com/Maathias/rolniknysa into html-structure 2019-10-14 15:37:54 +02:00
sebafudi dd31c4d21a Organized folder structure 2019-10-14 15:37:52 +02:00
BuildTools a34ea4acef Merge branch 'html-structure' of https://github.com/Maathias/rolniknysa into html-structure 2019-10-14 15:34:51 +02:00
BuildTools 3a9a7b5b9c Organized folder structure 2019-10-14 15:33:43 +02:00
BuildTools fbfeabf366 Organized folder structure 2019-10-14 15:30:51 +02:00
Sebastian Fudalej be1ad6f71a Merge pull request #4 from Maathias/semantics
DIV-y < semantyczny HTML
2019-10-14 15:24:43 +02:00
HichuYamichu 9a40936f48 replaced DIVs with semantic html and prepared css vars 2019-10-14 13:05:26 +02:00
Mathew 003688a565 Logo spacing 2019-10-12 19:48:12 +02:00
Mathew 54800990ab Whatever 2019-10-12 17:58:27 +02:00
Mathew 64b93c974f Add logo project and exports 2019-10-10 23:31:36 +02:00
HichuYamichu 673200d93a Merge pull request #2 from Maathias/add-license-1
Create LICENSE
2019-10-09 17:28:17 +02:00
HichuYamichu 2e11b4d6aa Create LICENSE 2019-10-09 17:27:51 +02:00
13 changed files with 2377 additions and 1 deletions

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
MIT License
Copyright (c) 2019 Mateusz Pstrucha, Sebastian Fudalej, Michał Kozłowski
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
-1
View File
@@ -1 +0,0 @@
aaaaaa
+109
View File
@@ -0,0 +1,109 @@
body {
margin: 0px;
font-family: "Roboto";
}
@media only screen and (min-width: 768px) {
#headLogo {
height: 250px;
}
}
/* div,
header,
nav,
section,
aside,
footer,
main {
border: 1px dashed black;
} */
head {
width: 100%;
}
#feed > article.news > img {
max-width: 100px;
max-height: 100px;
vertical-align: text-top;
}
#feed > article.news > header {
display: flexbox;
}
main {
width: 75%;
margin: auto;
}
iframe {
border: 0;
}
#headLogo {
width: 80vw;
padding: calc((100vh - 80vw) / 2) 10vw;
vertical-align: middle;
}
body > header > nav {
background-color: #195202;
user-select: none;
widows: 100%;
}
.navList,
.navSubList{
list-style: none;
border: 0px;
padding: 0px;
}
.navEl,
.navSubEl{
cursor: pointer;
}
.navSubEl{
background: #00a000;
padding: 10px 0px;
border-bottom: 1px solid white;
}
.navList {
width: 100%;
color: white;
text-align: center;
}
.navEl {
width: 100%;
display: block;
text-align: center;
padding: 10px 0px;
border-bottom: 2px solid white;
}
.navSubList{
height: 0px;
overflow: hidden;
}
.elActive>.navSubList{
height: auto;
}
/* body > header > nav > span.navElement {
width: 100%;
display: block;
text-align: center;
padding: 10px 0px;
border-bottom: 2px solid white;
} */
body > header > nav > span.navElement:hover {
background-color: darkgreen;
cursor: pointer;
}
+9
View File
@@ -0,0 +1,9 @@
:root {
/* --colorPrimary400: TODO choose color scheme */
/* --colorPrimary600: TODO choose color scheme */
/* --colorPrimary800: TODO choose color scheme */
/* --fontFamily: TODO choose font */
/* --fontSizeMd: TODO choose font size */
/* --fontSizeLg: TODO choose font size */
/* --fontSizeXl: TODO choose font size */
}
+61
View File
@@ -0,0 +1,61 @@
<html lang="pl">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
<!-- TODO: theme color -->
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>Zespół Szkół i Placówek Oświatowych w Nysie</title>
<link rel="stylesheet" href="css/main.css" />
<link rel="shortcut icon" href="static/logo/Favicon@32.png" type="image/x-icon" />
<link href="https://fonts.googleapis.com/css?family=Roboto&display=swap" rel="stylesheet">
<script src="js/app.js"></script>
</head>
<body>
<header>
<!-- <img src="static/logo/Big.svg" alt="Rolnik logo" id="headLogo" /> -->
<object type="image/svg+xml" data="static/logo/Big.svg" id="headLogo">
Your browser does not support SVG
</object>
<!-- <span>Zespół Szkół i Placówek Oświatowych w Nysie</span> -->
<nav>
<ul class="navList">
<li><span class="navEl">Element 1</span>
<ul class="navSubList">
<li class="navSubEl">Sub 1</li>
<li class="navSubEl">Sub 2</li>
</ul>
</li>
<li><span class="navEl">Element 2</span>
<ul class="navSubList">
<li class="navSubEl">Sub 1</li>
<li class="navSubEl">Sub 2</li>
</ul>
</li>
</ul>
<!-- <div class='navElement'>Element 1</div>
<div class='navElement'>Element 2</div>
<div class='navElement'>Element 3</div>
<div class='navElement'>Element 4</div>
<div class='navElement'>Element 5</div>
<div class='navElement'>Element 6</div> -->
</nav>
</header>
<main>
<section id='feed'>
<article class='news'>
<header>Lorem ipsum</header>
<img src="https://4.img-dpreview.com/files/p/E~TS590x0~articles/3925134721/0266554465.jpeg" alt="" />
<time datetime="2019-10-14">14 października 2019r.</time>
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Fugit illum iusto dignissimos dolorum sed
fuga minima beatae. Possimus deleniti non dolor doloribus sapiente incidunt excepturi vitae
perspiciatis quia, culpa rerum!</p>
</article>
</section>
</main>
<footer>footer</footer>
</body>
</html>
+9
View File
@@ -0,0 +1,9 @@
const $ = selector => document.querySelector(selector);
window.onload = () => {
document.querySelectorAll('.navList>li').forEach(el => {
el.onclick = function (e) {
if(e.target.parentElement == el) this.classList.toggle('elActive')
}
})
};
Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

+46
View File
@@ -0,0 +1,46 @@
<svg id="Big" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2048 2048">
<defs>
<style>
.cls-1 {
fill: #999999;
}
.cls-2 {
fill: #195202;
}
</style>
</defs>
<title>Big</title>
<g id="all">
<g id="accent">
<polyline id="bottomDiamond" class="cls-1" points="1024.2 1699.24 188.43 1427.51 188.43 1355.46 1024.2 1355.46 1025.23 1355.46 1861 1355.46 1861 1427.51 1025.23 1699.24"/>
<polygon id="middleLeft" class="cls-1" points="1025.23 454.76 867.75 553.57 867.75 957.05 1025.23 957.05 1025.23 454.76"/>
<polygon id="leftSmall" class="cls-1" points="833.11 957.56 730.11 957.56 730.11 598.35 833.11 566.44 833.11 957.56"/>
<polygon id="leftMiddle" class="cls-1" points="694.11 957.56 446.62 957.56 446.62 583.94 565.71 627.17 694.11 627.17 694.11 957.56"/>
<polygon id="leftTower" class="cls-1" points="405 956.53 188.94 956.53 188.94 519.09 296.97 519.09 405 519.09 405 956.53"/>
<polygon id="middleLeft-2" data-name="middleLeft" class="cls-1" points="1024 454.51 1181.48 553.32 1181.48 956.79 1024 956.79 1024 454.51"/>
<polygon id="leftSmall-2" data-name="leftSmall" class="cls-1" points="1216.12 957.31 1319.13 957.31 1319.13 598.09 1216.12 566.18 1216.12 957.31"/>
<polygon id="leftMiddle-2" data-name="leftMiddle" class="cls-1" points="1355.12 957.31 1602.61 957.31 1602.61 583.68 1483.52 626.91 1355.12 626.91 1355.12 957.31"/>
<polygon id="leftTower-2" data-name="leftTower" class="cls-1" points="1644.23 956.28 1860.29 956.28 1860.29 518.84 1752.26 518.84 1644.23 518.84 1644.23 956.28"/>
</g>
<g id="topBuilding">
<polygon id="middleLeft-3" data-name="middleLeft" class="cls-2" points="1025.23 494.76 867.75 593.57 867.75 997.05 1025.23 997.05 1025.23 494.76"/>
<polygon id="leftSmall-3" data-name="leftSmall" class="cls-2" points="833.11 997.56 730.11 997.56 730.11 638.35 833.11 606.44 833.11 997.56"/>
<polygon id="leftMiddle-3" data-name="leftMiddle" class="cls-2" points="694.11 997.56 446.62 997.56 446.62 623.94 565.71 667.17 694.11 667.17 694.11 997.56"/>
<polygon id="leftTower-3" data-name="leftTower" class="cls-2" points="405 996.53 188.94 996.53 188.94 559.09 296.97 559.09 405 559.09 405 996.53"/>
<polygon id="middleLeft-4" data-name="middleLeft" class="cls-2" points="1024 494.51 1181.48 593.32 1181.48 996.79 1024 996.79 1024 494.51"/>
<polygon id="leftSmall-4" data-name="leftSmall" class="cls-2" points="1216.12 997.31 1319.13 997.31 1319.13 638.09 1216.12 606.18 1216.12 997.31"/>
<polygon id="leftMiddle-4" data-name="leftMiddle" class="cls-2" points="1355.12 997.31 1602.61 997.31 1602.61 623.68 1483.52 666.91 1355.12 666.91 1355.12 997.31"/>
<polygon id="leftTower-4" data-name="leftTower" class="cls-2" points="1644.23 996.28 1860.29 996.28 1860.29 558.84 1752.26 558.84 1644.23 558.84 1644.23 996.28"/>
</g>
<polyline id="bottomDiamond-2" data-name="bottomDiamond" class="cls-2" points="1024.2 1739.24 188.43 1467.51 188.43 1395.46 1024.2 1395.46 1025.23 1395.46 1861 1395.46 1861 1467.51 1025.23 1739.24"/>
<g id="rolnik">
<path d="M283.12,1255.48q0,12.54.11,22.46t.31,18.08q.21,6.69,4.81,8.14l21.73,7.11.63,10.45q-23.2-.63-57.47-.63-36.57,0-65.2.63l-1-10.45,28-7.73c3.48-1,5.36-3.14,5.64-6.48q.21-8.36.32-18.7t.1-22.88V1088.93q0-10.44-.1-19t-.32-15.67c-.14-3.63-1.81-5.92-5-6.9l-28-8.15-.63-10.66q29.25.84,60,.84,6.48,0,16.09-.31t23.41-.74q12.52-.4,21-.62t13.27-.21q53.7,0,80.55,18t26.85,52.45q0,31.14-16.4,50.25t-48.17,29.36q17.56,25.92,27.06,42t19.12,31.65q9.62,15.57,17.45,27.48a121.52,121.52,0,0,0,14.73,18.81,86.12,86.12,0,0,0,7.21,5.43,47.82,47.82,0,0,0,7.21,4,53.31,53.31,0,0,0,8,2.82q4.28,1.15,9.51,2.2l.83,10.65a333.94,333.94,0,0,1-46.81,2.93q-20.9,0-29.25-2.72a48.59,48.59,0,0,1-14.84-7.73,82.41,82.41,0,0,1-17.65-19.64q-8.06-12.12-17-27.38t-18.5-32.39q-9.51-17.13-20-33.85-3.13-4.8-5.12-7.94a19,19,0,0,0-4-4.7,14,14,0,0,0-4.18-2.3,22.66,22.66,0,0,0-5.54-.94l-8.78-.21Zm0-88q11.07.63,20.06.63,29.67,0,43.47-14.94t13.79-46.7q0-30.72-13.27-44.83t-41.27-14.1c-3.21,0-6.65.14-10.34.42s-7.84.7-12.44,1.25Z"/>
<path d="M792.37,1168.55q0,72.3-42.63,116.29t-118.69,44q-72.72,0-112.43-40.64t-39.7-110q0-72.3,42.84-114.41t118.48-42.1q72.72,0,112.42,39.39T792.37,1168.55Zm-243.24,2.71q0,66.88,22.57,102.29T637.94,1309q43,0,63.63-32.18t20.58-101.14q0-64.77-21.73-99.57t-67.28-34.79q-44.1,0-64,32.28T549.13,1171.26Z"/>
<path d="M927.77,1088.1v165.29q0,23,.42,45.55h81.71l28.62-59.34,12.75-1.88-5.22,82.54-1.47,1.46q-51.62-.63-100.93-.63H891.83q-31.14,0-57.67.63l-1-10.45,25.91-7.73c3.49-1,5.37-3.14,5.65-6.48q.2-8.36.31-18.7t.1-22.88V1088.93q0-10.44-.1-19t-.31-15.67c-.14-3.63-1.82-5.92-5-6.9l-25.91-8.15-.63-10.66q27,.84,62.27.84,36.36,0,63.11-.84l1,10.66-25.92,7.73a6.55,6.55,0,0,0-5.43,6.27q-.21,7.53-.31,21.42T927.77,1088.1Z"/>
<path d="M1134.44,1296.23c.13,4,1.88,6.47,5.22,7.31l26.75,7.31.63,10.87q-28.21-.63-46.39-.63-18,0-47,.63l-1.05-10.45,28-7.73c3.63-1.12,5.51-3.27,5.65-6.48q.4-16.92.42-41.58V1088.93q0-20.9-.42-34.68c-.14-3.63-1.82-5.92-5-6.9l-28-8.15-.63-10.66q29.26.84,44.93.84,20.48,0,38.87-.84l139,174.07q8.36,10.46,17.13,22.15-.42-14.41-.41-27.79V1088.1q0-20.26-.42-34.9c-.14-3.2-2-5.29-5.44-6.27l-26.74-7.31-.63-11.08q28.85.84,46.81.84,18.39,0,46.6-.84l1,10.66-28.42,8.15c-3.2,1-4.88,3.27-5,6.9q-.63,13.79-.63,34.68v232.16l-24,2.3-164.66-206.25q-7.32-9.41-16.93-22.36.42,15.48.42,28.42v132.28Q1134,1280.14,1134.44,1296.23Z"/>
<path d="M1498,1255.48q0,12.54.11,22.77t.31,18.39c.14,3.63,2.51,6.06,7.1,7.32l25.71,7.31.62,10.45q-29-.63-64.36-.63-36.57,0-65.19.63l-1-10.45,28-7.73c3.48-1,5.36-3.14,5.65-6.48q.19-8.36.31-18.7t.1-22.88V1088.93q0-10.44-.1-19t-.31-15.67c-.14-3.63-1.82-5.92-5-6.9l-28-8.15-.63-10.66q29,.84,64.36.84,36.36,0,65.2-.84l1,10.66-28,7.73a6.55,6.55,0,0,0-5.43,6.27q-.21,7.53-.31,16.2t-.11,18.7Z"/>
<path d="M1665.2,1088.1v167.38q0,12.54.11,22.77t.31,18.39q.21,5.64,5.43,7.32l24.24,7.31.63,10.45q-25.92-.63-61.23-.63-36.57,0-65.19.63l-1-10.45,28-7.73c3.62-1.12,5.51-3.27,5.65-6.48q.2-8.36.31-18.7t.1-22.88V1088.93q0-10.44-.1-19t-.31-15.67c-.14-3.63-1.82-5.92-5-6.9l-28-8.15-.63-10.66q29,.84,64.36.84,36.15,0,61.86-.84l1.25,10.66-24.87,7.11a6.87,6.87,0,0,0-5.43,6.47q-.21,7.74-.31,16.51T1665.2,1088.1ZM1670,1175l85.67-94.25q10.24-11.07,16.09-18.7t5.85-12.22q0-4-5.64-5.64l-18.18-4.6-.62-11.08q22.14.84,48.47.84,25.92,0,49.32-.84l1,10.66-23.62,6.48a46.58,46.58,0,0,0-17.55,9.61q-7.32,6.48-15.46,15.25l-71.68,80,92,135.2q6.67,9.4,11.91,13.27a38.63,38.63,0,0,0,12.53,6l20.27,6.27.63,10.45q-23.19-.63-47.85-.63-23,0-49.53.42-6.25-13.8-34.06-56Z"/>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 800 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

File diff suppressed because it is too large. Load diff