diff options
| author | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2025-01-22 00:05:36 +0100 |
|---|---|---|
| committer | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2025-01-28 21:31:34 +0100 |
| commit | b8f8cc19d6cd732374e21d69a79fb19b093fbcc6 (patch) | |
| tree | e567f7c62b6e97b6172faa857ef9b9f532615b85 | |
| parent | 2b8d41e9163bfde52a2c62fe735bdc122d15d90e (diff) | |
El Cau dels Nanos v1elcaudelsnanos
| -rw-r--r-- | layouts/index.html | 182 | ||||
| -rw-r--r-- | layouts/partials/footer.html | 14 | ||||
| -rw-r--r-- | layouts/partials/head.html | 2 | ||||
| -rw-r--r-- | layouts/partials/slider.html | 92 | ||||
| -rw-r--r-- | static/css/slider.css | 496 | ||||
| -rw-r--r-- | static/css/styles.css | 116 |
6 files changed, 765 insertions, 137 deletions
diff --git a/layouts/index.html b/layouts/index.html index f81afc0..03ce667 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -9,9 +9,12 @@ <div class="d-flex justify-content-center"> <div class="text-center"> {{ with site.Data.homepage.main }} - <h1 class="mx-auto my-0 text-uppercase">{{ .header.title }}</h1> - <h2 class="text-white-75 mx-auto mt-2 mb-2 text-uppercase">{{ .header.description }}</h2> - <a class="btn btn-primary" href="{{ .header.button.url }}">{{ .header.button.text }}</a> + <img class="img-fluid" src="{{ .header.logo }}"/> + <h2 class="text-white mx-auto mt-2 mb-2 chilanka"> + {{ .header.description | markdownify | safeHTML }} + </h2> + <a class="btn btn-primary fw-bold" href="{{ .header.button.url }}">{{ .header.button.text }}</a> + <a class="btn btn-secondary" href="{{ .header.button2.url }}">{{ .header.button2.text }}</a> {{ end }} </div> </div> @@ -20,127 +23,102 @@ <!-- About--> {{ with site.Data.homepage.about }} <section class="about-section text-center" id="about"> - <div class="container px-4 px-lg-5"> + <div class="overflow-x container px-4 px-lg-5"> <div class="row gx-4 gx-lg-5 justify-content-center"> <div class="col-lg-8"> - <h2 class="text-white mb-4 text-uppercase">{{ .title }}</h2> - <p class="text-white-75">{{ .desc }}</p> + <h1 class="text-white mb-4 text-uppercase shadows-into-light">{{ .title }}</h1> {{ if .button.enable }} <a class="btn btn-primary about-btn" href="{{ .button.url }}">{{ .button.text }}</a> {{ end }} </div> - <div class="about-row"> - <figure class="column text-center"> - <img class="about-img" src="{{ .image0.src }}" alt="A live picture of {{ .image0.text }}"/> - <figcaption class="text-white-75 mx-auto mt-2 mb-5 text-uppercase">{{ .image0.text }}</figcaption> - </figure> - <figure class="column text-center"> - <img class="about-img" src="{{ .image1.src }}" alt="A live picture of {{ .image1.text }}"/> - <figcaption class="text-white-75 mx-auto mt-2 mb-5 text-uppercase">{{ .image1.text }}</figcaption> - </figure> - <figure class="column text-center"> - <img class="about-img" src="{{ .image2.src }}" alt="A live picture of {{ .image2.text }}"/> - <figcaption class="text-white-75 mx-auto mt-2 mb-5 text-uppercase">{{ .image2.text }}</figcaption> - </figure> - <figure class="column text-center"> - <img class="about-img" src="{{ .image3.src }}" alt="A live picture of {{ .image3.text }}"/> - <figcaption class="text-white-75 mx-auto mt-2 mb-3 text-uppercase">{{ .image3.text }}</figcaption> - </figure> - </div> - </div> - </div> - </section> - {{ end }} - {{ with site.Data.homepage.musicvideo }} - <!-- Listen--> - <section class="watch-section" id="watch"> - <div class="container px-4 px-lg-5"> - <div class="d-flex justify-content-center"> - <div class="col-lg-8 text-center"> - <h2 class="text-white mb-4 text-uppercase">{{ .title }}</h2> - <p class="text-white-75 h2">{{ .desc }}</p> - </div> - </div> - <div class="text-center gx-4 gx-lg-5 justify-content-center about-row"> - <video class="musicvideo mx-auto" controls preload="metadata" alt="Music video for Path of Emotions"> - <source src='{{ .src }}' type="audio/ogg"> - </video> - </div> - </div> - </section> - {{ end }} - {{ with site.Data.homepage.listen }} - <!-- Listen--> - <section class="listen-section" id="listen"> - <div class="container px-4 px-lg-5"> - <div class="d-flex justify-content-center"> - <div class="col-lg-8 text-center"> - <h2 class="text-white mb-4 text-uppercase">{{ .title }}</h2> - <p class="text-white-75 h2">{{ .desc }}</p> - </div> - </div> - <div class="text-center mx-auto mt-2 mb-2"> - <img class="listen-img" src="{{ .image }}" alt="Workart for our EP Take Away"/> - </div> - <div class="text-center gx-4 gx-lg-5 justify-content-center about-row"> - <section class="text-white-75 text-uppercase"> {{ .audio0.title }} </section> - <audio class="mx-auto mt-1 mb-1" controls preload="metadata"> - <source src='{{ .audio0.src }}' type="audio/ogg"> - </audio> + <div class=""> + {{ with .image0 }} + <div class="about py-lg-1 align-items-center"> + <img class="about-img order-0" src="{{ .src }}"/> + <div class="text-white order-1 justify-content-center px-sm-2"> + <h2 class="text-uppercase shadows-into-light">{{ .title }}</h2> + <div class="chilanka"> + {{ .text }} + </div> + </div> + </div> + {{ end }} - <section class="text-white-75 text-uppercase"> {{ .audio1.title }} </section> - <audio class="mx-auto mt-1 mb-1" controls preload="metadata"> - <source src='{{ .audio1.src }}' type="audio/ogg"> - </audio> + {{ with .image1 }} + <div class="about-right py-lg-1 align-items-center"> + <img class="about-img order-0" src="{{ .src }}"/> + <div class="text-white order-1 justify-content-center px-sm-2"> + <h2 class="text-uppercase shadows-into-light">{{ .title }}</h2> + <div class="chilanka"> + {{ .text }} + </div> + </div> + </div> + {{ end }} - <section class="text-white-75 text-uppercase"> {{ .audio2.title }} </section> - <audio class="mx-auto mt-1 mb-1" controls preload="metadata"> - <source src='{{ .audio2.src }}' type="audio/ogg"> - </audio> + {{ with .image2 }} + <div class="about py-lg-1 align-items-center"> + <img class="about-img order-0" src="{{ .src }}"/> + <div class="text-white order-1 justify-content-center px-sm-2"> + <h2 class="text-uppercase shadows-into-light">{{ .title }}</h2> + <div class="chilanka"> + {{ .text }} + </div> + </div> + </div> + {{ end }} - <section class="text-white-75 text-uppercase"> {{ .audio3.title }} </section> - <audio class="mx-auto mt-1 mb-1" controls preload="metadata"> - <source src='{{ .audio3.src }}' type="audio/ogg"> - </audio> + {{ with .image3 }} + <div class="about-right py-lg-1 align-items-center"> + <img class="about-img order-0" src="{{ .src }}"/> + <div class="text-white order-1 justify-content-center px-sm-2"> + <h2 class="text-uppercase shadows-into-light">{{ .title }}</h2> + <div class="chilanka"> + {{ .text | markdownify | safeHTML }} + </div> + </div> + </div> + {{ end }} + </div> + {{ with site.Data.homepage.gallery }} + <h1 class="mt-4 text-white text-uppercase shadows-into-light">{{ .title }}</h1> + {{ end }} + {{- partial "slider.html" . -}} + {{ with site.Data.homepage.main }} + <a class="btn btn-primary btn-primary-foot fw-bold" href="{{ .header.button.url }}">{{ .header.button.text }}</a> + {{ end }} </div> </div> </section> {{ end }} + {{ with site.Data.homepage.booking }} + {{ end }} <!-- Contact--> {{ with site.Data.homepage.contact }} - <section class="contact-section bg-black" id="contact"> + <section class="contact-section" id="contact"> <div class="d-flex justify-content-center"> <div class="col-lg-8 text-center"> - <h2 class="text-white mb-4 text-uppercase">{{ .title }}</h2> + <h1 class="text-white mb-4 text-uppercase shadows-into-light">{{ .title }}</h1> </div> </div> <div class="container px-4 px-lg-5"> <div class="row gx-4 gx-lg-5 justify-content-center"> - <div class="btn btn-primary mx-2 col-md-4 mb-3 mb-md-0"> - <a href="mailto:{{ .email }}"> - <i class="fas fa-envelope text-primary mb-2"></i> - <h4 class="text-uppercase m-4 text-white-75">Email</h4> - <div class="small my-4 text-white-75">{{ .email }}</div> - </a> - </div> - <div class="column btn btn-primary mx-2 col-md-4 mb-3 mb-md-0"> - <a href="xmpp:{{ .xmpp }}?message"> - <i class="fas fa-envelope text-primary mb-2"></i> - <h4 class="text-uppercase m-4 text-white-75">XMPP</h4> - <div class="small my-4 text-white-75">{{ .xmpp }}</div> - </a> - </div> - </div> - {{ with site.Data.homepage.social }} - <div class="social d-flex justify-content-center"> - <a class="mx-2" href="{{ .fediverse.url }}"><img class="social-img" src="{{ .fediverse.src }}" alt="{{ .fediverse.altext }}"/></a> - <a class="mx-2" href="{{ .spotify.url }}"><img class="social-img" src="{{ .spotify.src }}" alt="{{ .spotify.altext }}"/></a> - <a class="mx-2" href="{{ .instagram.url }}"><img class="social-img" src="{{ .instagram.src }}" alt="{{ .instagram.altext }}"/></a> - <a class="mx-2" href="{{ .youtube.url }}"><img class="social-img" src="{{ .youtube.src }}" alt="{{ .youtube.altext }}"/></a> - <a class="mx-2" href="{{ .peertube.url }}"><img class="social-img" src="{{ .peertube.src }}" alt="{{ .peertube.altext }}"/></a> - <a class="mx-2" href="{{ .linktree.url }}"><img class="social-img" src="{{ .linktree.src }}" alt="{{ .linktree.altext }}"/></a> + <div class="text-white">Email: <a class="text-white" href="mailto:{{ .email }}">{{ .email }}</a></div> + <div class="text-white">Adreça: <a class="text-white" href="https://www.openstreetmap.org/?mlat=41.145592&mlon=1.104775#map=19/41.145592/1.104775">{{ .address }}</a></div> + <div class="text-white">Telèfon: <a class="text-white" href="tel:{{ .phonefull }}">{{ .phone }}</a></div> + {{ with site.Data.homepage.social }} + <div class="d-flex justify-content-center py-lg-1"> + <a class="social mx-2" href="{{ .instagram.url }}"><img class="social-img" src="{{ .instagram.src }}" alt="{{ .instagram.altext }}"/></a> + <a class="text-white" href="{{ .instagram.url }}">{{ .instagram.profile }}</a> + </div> + {{ end }} + <iframe + width="425" + height="350" + src="https://www.openstreetmap.org/export/embed.html?bbox=1.1030048131942751%2C41.144678988077644%2C1.1065453290939333%2C41.146504897076724&layer=mapnik&marker=41.14559194893249%2C1.104775071144104"> + </iframe><br/><small class="text-center"><a class="text-white" href="https://www.openstreetmap.org/?mlat=41.145592&mlon=1.104775#map=19/41.145592/1.104775">Veure a OpenStreetMap</a></small> </div> - {{ end }} + </div> </section> {{ end }} diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index d69f4df..308fa86 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,2 +1,14 @@ <!-- Footer--> -<footer class="footer bg-black small text-center text-white-50"><div class="container px-4 px-lg-5">Copyright © {{ site.Params.Author }} {{ now.Format "2006"}}</div></footer> +<footer class="footer small text-center text-black"> + <div class="container px-4 px-lg-5"> + <div> + Copyright © {{ site.Params.Author }} {{ now.Format "2006"}} + </div> + <div> + <a class="text-black" href="https://font.download/font/shadows-into-light">Shadows Into Light</a> Copyright © 2010 Kimberly Geswein (kimberlygeswein.com) + </div> + <div> + <a class="text-black" href="https://gitlab.com/smc/fonts/chilanka">Chilanka</a> Copyright © 2019 The Chilanka Project Authors + </div> + </div> +</footer> diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 68df436..6b6a6b6 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -3,7 +3,7 @@ <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" /> <meta name="description" content="" /> <meta name="author" content="" /> - <link rel="icon" href="{{ site.Params.favicon }}" /> + <link rel="icon" href="{{ site.Data.favicon }}" /> <!-- Core theme CSS (includes Bootstrap)--> <link href="css/styles.css" rel="stylesheet" /> {{ $title := print .Site.Title " | " .Title }} diff --git a/layouts/partials/slider.html b/layouts/partials/slider.html new file mode 100644 index 0000000..b83a0ea --- /dev/null +++ b/layouts/partials/slider.html @@ -0,0 +1,92 @@ +<!-- +Copyright © 2022 Codeconvey + +PLEASE READ THIS POLICY CAREFULLY. BY ACCESSING THIS WEBSITE YOU +AGREE TO BE BOUND BY THE TERMS AND CONDITIONS BELOW. +THESE TERMS AND CONDITIONS ARE SUBJECT TO CHANGE WITHOUT NOTICE, +FROM TIME TO TIME IN OUR SOLE DISCRETION. IF YOU DO NOT +AGREE WITH THESE TERMS AND CONDITIONS, PLEASE DO NOT +ACCESS THIS WEBSITE. + +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. +--> +<!-- https://codeconvey.com/pure-css-image-slider-with-thumbnails/ --> + +<link href="css/slider.css" rel="stylesheet" /> +<section> + <div class="rt-container"> + <div class="col-rt-12"> + <div class="csslider infinity" id="slider1"> + <input type="radio" name="slides" checked="checked" id="slides_1" /> + <input type="radio" name="slides" id="slides_2" /> + <input type="radio" name="slides" id="slides_3" /> + <input type="radio" name="slides" id="slides_4" /> + <input type="radio" name="slides" id="slides_5" /> + <input type="radio" name="slides" id="slides_6" /> + <input type="radio" name="slides" id="slides_7" /> + <input type="radio" name="slides" id="slides_8" /> + <input type="radio" name="slides" id="slides_9" /> + <input type="radio" name="slides" id="slides_10" /> + <ul> + <li><img class="slide" src="slides/1.webp" /></li> + <li><img class="slide" src="slides/2.webp" /></li> + <li><img class="slide" src="slides/3.webp" /></li> + <li><img class="slide" src="slides/4.webp" /></li> + <li><img class="slide" src="slides/5.webp" /></li> + <li><img class="slide" src="slides/6.webp" /></li> + <li><img class="slide" src="slides/7.webp" /></li> + <li><img class="slide" src="slides/8.webp" /></li> + <li><img class="slide" src="slides/9.webp" /></li> + <li><img class="slide" src="slides/10.webp" /></li> + </ul> + <div class="arrows"> + <label for="slides_1"></label> + <label for="slides_2"></label> + <label for="slides_3"></label> + <label for="slides_4"></label> + <label for="slides_5"></label> + <label for="slides_6"></label> + <label for="slides_7"></label> + <label for="slides_8"></label> + <label for="slides_9"></label> + <label for="slides_10"></label> + <label class="goto-first" for="slides_1"></label> + <label class="goto-last" for="slides_10"></label> + </div> + <!-- + <div class="navigation"> + <div> + <label for="slides_1"><img width="32" height="32" + src="slides/1.webp" /></label> + <label for="slides_2"><img width="32" height="32" + src="slides/2.webp" /></label> + <label for="slides_3"><img width="32" height="32" + src="slides/3.webp" /></label> + <label for="slides_4"><img width="32" height="32" + src="slides/4.webp" /></label> + <label for="slides_5"><img width="32" height="32" + src="slides/5.webp" /></label> + </div> + </div> + --> + </div> + + </div> + </div> +</section> diff --git a/static/css/slider.css b/static/css/slider.css new file mode 100644 index 0000000..d7c98a4 --- /dev/null +++ b/static/css/slider.css @@ -0,0 +1,496 @@ +/* Copyright © 2022 Codeconvey + * + * PLEASE READ THIS POLICY CAREFULLY. BY ACCESSING THIS WEBSITE YOU + * AGREE TO BE BOUND BY THE TERMS AND CONDITIONS BELOW. + * THESE TERMS AND CONDITIONS ARE SUBJECT TO CHANGE WITHOUT NOTICE, + * FROM TIME TO TIME IN OUR SOLE DISCRETION. IF YOU DO NOT + * AGREE WITH THESE TERMS AND CONDITIONS, PLEASE DO NOT + * ACCESS THIS WEBSITE. + * + * 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. + */ + +.csslider { + display: inline-block; + text-align: left; + position: relative; + margin-bottom: 22px; +} + +.csslider>input { + display: none; +} + +.csslider>input:nth-of-type(10):checked~ul li:first-of-type { + margin-left: -900.6%; +} + +.csslider>input:nth-of-type(9):checked~ul li:first-of-type { + margin-left: -800.4%; +} + +.csslider>input:nth-of-type(8):checked~ul li:first-of-type { + margin-left: -700.2%; +} + +.csslider>input:nth-of-type(7):checked~ul li:first-of-type { + margin-left: -601%; +} + +.csslider>input:nth-of-type(6):checked~ul li:first-of-type { + margin-left: -500.8%; +} + +.csslider>input:nth-of-type(5):checked~ul li:first-of-type { + margin-left: -400.6%; +} + +.csslider>input:nth-of-type(4):checked~ul li:first-of-type { + margin-left: -300.4%; +} + +.csslider>input:nth-of-type(3):checked~ul li:first-of-type { + margin-left: -200.2%; +} + +.csslider>input:nth-of-type(2):checked~ul li:first-of-type { + margin-left: -100.1%; +} + +.csslider>input:nth-of-type(1):checked~ul li:first-of-type { + margin-left: 0%; +} + +@media (max-width: 992px) { + .csslider>ul { + max-width: 100%; + } +} + +@media (min-width: 992px) { + .csslider>ul { + max-width: 80%; + } +} + +.csslider>ul { + position: relative; + /*height: 420px;*/ + z-index: 1; + font-size: 0; + line-height: 0; + background-color: #3A3A3A; + border: 2px solid #3A3A3A; + border-radius: 4px; + margin: 0 auto; + padding: 0; + overflow: hidden; + white-space: nowrap; + -moz-box-sizing: border-box; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} + +.csslider>ul>li { + position: relative; + display: inline-block; + width: 100%; + height: 100%; + overflow: hidden; + font-size: 15px; + font-size: initial; + line-height: normal; + -moz-transition: all 0.5s cubic-bezier(0.4, 1.3, 0.65, 1); + -o-transition: all 0.5s ease-out; + -webkit-transition: all 0.5s cubic-bezier(0.4, 1.3, 0.65, 1); + transition: all 0.5s cubic-bezier(0.4, 1.3, 0.65, 1); + vertical-align: top; + -moz-box-sizing: border-box; + -webkit-box-sizing: border-box; + box-sizing: border-box; + white-space: normal; +} + +.csslider>ul>li.scrollable { + overflow-y: scroll; +} + +.csslider>.navigation { + position: absolute; + bottom: 30px; + left: 50%; + z-index: 10; + margin-bottom: -10px; + font-size: 0; + line-height: 0; + text-align: center; + -webkit-touch-callout: none; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.csslider>.navigation>div { + margin-left: -100%; +} + +.csslider>.navigation label { + position: relative; + display: inline-block; + cursor: pointer; + border-radius: 50%; + margin: 0 4px; + padding: 4px; + background: transparent none repeat scroll 0 0; +} + +.csslider>.navigation label:hover:after { + opacity: 1; +} + +.csslider>.navigation label:after { + content: ''; + position: absolute; + left: 50%; + top: 50%; + margin-left: -6px; + margin-top: -6px; + background: transparent none repeat scroll 0 0; + border-radius: 50%; + padding: 6px; + opacity: 0; +} + +.csslider>.arrows { + -webkit-touch-callout: none; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.csslider.inside .navigation { + bottom: 10px; + margin-bottom: 10px; +} + +.csslider.inside .navigation label { + border: 1px solid #7e7e7e; +} + +.csslider>input:nth-of-type(1):checked~.navigation label:nth-of-type(1):after, +.csslider>input:nth-of-type(2):checked~.navigation label:nth-of-type(2):after, +.csslider>input:nth-of-type(3):checked~.navigation label:nth-of-type(3):after, +.csslider>input:nth-of-type(4):checked~.navigation label:nth-of-type(4):after, +.csslider>input:nth-of-type(5):checked~.navigation label:nth-of-type(5):after, +.csslider>input:nth-of-type(6):checked~.navigation label:nth-of-type(6):after, +.csslider>input:nth-of-type(7):checked~.navigation label:nth-of-type(7):after, +.csslider>input:nth-of-type(8):checked~.navigation label:nth-of-type(8):after, +.csslider>input:nth-of-type(9):checked~.navigation label:nth-of-type(9):after, +.csslider>input:nth-of-type(10):checked~.navigation label:nth-of-type(10):after, +.csslider>input:nth-of-type(11):checked~.navigation label:nth-of-type(11):after { + opacity: 1; +} + +.csslider>.arrows { + position: absolute; + left: -16px; + top: 50%; + width: 100%; + height: 26px; + padding: 0 16px; + z-index: 0; + -moz-box-sizing: content-box; + -webkit-box-sizing: content-box; + box-sizing: content-box; +} + +.csslider>.arrows label { + display: none; + position: absolute; + top: -50%; + padding: 13px; + box-shadow: inset 2px -2px 0 1px #f0f0f0; + cursor: pointer; + -moz-transition: box-shadow 0.15s, margin 0.15s; + -o-transition: box-shadow 0.15s, margin 0.15s; + -webkit-transition: box-shadow 0.15s, margin 0.15s; + transition: box-shadow 0.15s, margin 0.15s; +} + +.csslider>.arrows label:hover { + box-shadow: inset 3px -3px 0 2px #5ac3ab; + margin: 0 0px; +} + +.csslider>.arrows label:before { + content: ''; + position: absolute; + top: -100%; + left: -100%; + height: 300%; + width: 300%; +} + +.csslider.infinity>input:first-of-type:checked~.arrows label.goto-last, +.csslider>input:nth-of-type(1):checked~.arrows>label:nth-of-type(0), +.csslider>input:nth-of-type(2):checked~.arrows>label:nth-of-type(1), +.csslider>input:nth-of-type(3):checked~.arrows>label:nth-of-type(2), +.csslider>input:nth-of-type(4):checked~.arrows>label:nth-of-type(3), +.csslider>input:nth-of-type(5):checked~.arrows>label:nth-of-type(4), +.csslider>input:nth-of-type(6):checked~.arrows>label:nth-of-type(5), +.csslider>input:nth-of-type(7):checked~.arrows>label:nth-of-type(6), +.csslider>input:nth-of-type(8):checked~.arrows>label:nth-of-type(7), +.csslider>input:nth-of-type(9):checked~.arrows>label:nth-of-type(8), +.csslider>input:nth-of-type(10):checked~.arrows>label:nth-of-type(9), +.csslider>input:nth-of-type(11):checked~.arrows>label:nth-of-type(10) { + display: block; + left: 0; + right: auto; + -moz-transform: rotate(45deg); + -ms-transform: rotate(45deg); + -o-transform: rotate(45deg); + -webkit-transform: rotate(45deg); + transform: rotate(45deg); +} + +.csslider.infinity>input:last-of-type:checked~.arrows label.goto-first, +.csslider>input:nth-of-type(1):checked~.arrows>label:nth-of-type(2), +.csslider>input:nth-of-type(2):checked~.arrows>label:nth-of-type(3), +.csslider>input:nth-of-type(3):checked~.arrows>label:nth-of-type(4), +.csslider>input:nth-of-type(4):checked~.arrows>label:nth-of-type(5), +.csslider>input:nth-of-type(5):checked~.arrows>label:nth-of-type(6), +.csslider>input:nth-of-type(6):checked~.arrows>label:nth-of-type(7), +.csslider>input:nth-of-type(7):checked~.arrows>label:nth-of-type(8), +.csslider>input:nth-of-type(8):checked~.arrows>label:nth-of-type(9), +.csslider>input:nth-of-type(9):checked~.arrows>label:nth-of-type(10), +.csslider>input:nth-of-type(10):checked~.arrows>label:nth-of-type(11), +.csslider>input:nth-of-type(11):checked~.arrows>label:nth-of-type(12) { + display: block; + right: 0; + left: auto; + -moz-transform: rotate(225deg); + -ms-transform: rotate(225deg); + -o-transform: rotate(225deg); + -webkit-transform: rotate(225deg); + transform: rotate(225deg); +} + +.slide { + max-width: 100%; + max-height: 100%; +} + +/*#region MODULES */ +/*#endregion */ +/*___________________________________ LAYOUT ___________________________________ */ +* { + margin: 0; + padding: 0; +} + +::-webkit-scrollbar { + width: 2px; + background: rgba(255, 255, 255, 0.1); +} + +::-webkit-scrollbar-track { + background: none; +} + +::-webkit-scrollbar-thumb { + background: rgba(74, 168, 0, 0.6); +} + +ul, +ol { + padding-left: 40px; +} + +html, +body { + + + text-align: center; + /*font: 400 100% 'Raleway', 'Lato';*/ + background-color: #282828; + color: #CCC; +} + +h1 { + font-weight: 700; + font-size: 310%; +} + +#slider1>h2 { + font-weight: 400; + font-size: 120%; + color: #5ac3ab; +} + +#slider1 { + margin: 20px; + font-family: 'Lato'; +} +/* +#slider1>ul>li:nth-of-type(3) { + background: url(https://raw.github.com/drygiel/csslider/master/examples/themes/fruit.jpg); +} +*/ +#slider1>input:nth-of-type(3):checked~ul #bg { + width: 80%; + padding: 22px; + -moz-transition: .5s .5s; + -o-transition: .5s .5s; + -webkit-transition: .5s .5s; + transition: .5s .5s; +} + +#slider1>input:nth-of-type(3):checked~ul #bg div { + -moz-transform: translate(0); + -ms-transform: translate(0); + -o-transform: translate(0); + -webkit-transform: translate(0); + transform: translate(0); + -moz-transition: .5s .9s; + -o-transition: .5s .9s; + -webkit-transition: .5s .9s; + transition: .5s .9s; +} + + +#bg { + color: #000; + padding: 22px 0; + position: absolute; + left: 0; + top: 16%; + height: 20%; + width: 0; + z-index: 10; + overflow: hidden; +} + +#bg:before { + content: ''; + position: absolute; + left: -1px; + top: 1px; + height: 100%; + width: 100%; + z-index: -1; + /*background: url(https://raw.github.com/drygiel/csslider/master/examples/themes/fruit.jpg) 1px 23%;*/ + -webkit-filter: blur(7px); +} + +#bg:after { + content: ''; + position: absolute; + left: 0; + top: 0; + height: 100%; + width: 100%; + z-index: 20; + background: rgba(0, 0, 0, 0.35); + pointer-events: none; +} + +#bg div { + -moz-transform: translate(120%); + -ms-transform: translate(120%); + -o-transform: translate(120%); + -webkit-transform: translate(120%); + transform: translate(120%); +} + +.scrollable p { + padding: 30px; + text-align: justify; + line-height: 140%; + font-size: 120%; +} + +#center { + text-align: center; + margin-top: 25%; +} + +#center a { + text-decoration: none; + text-transform: uppercase; + letter-spacing: 2px; + font-variant: small-caps; +} + +/*___________________________________ LINK ___________________________________ */ +a.nice-link { + position: relative; + color: #5ac3ab; +} + +h1 a.nice-link:after { + border-bottom: 1px solid #a5ff0e; +} + +a.nice-link:after { + text-align: justify; + display: inline-block; + content: attr(data-text); + position: absolute; + left: 0; + top: 0; + white-space: nowrap; + overflow: hidden; + color: #a5ff0e; + min-height: 100%; + width: 0; + max-width: 100%; + background: #3A3A3A; + -moz-transition: .3s; + -o-transition: .3s; + -webkit-transition: .3s; + transition: .3s; +} + +a.nice-link:hover { + color: #5ac3ab; +} + +a.nice-link:hover:after { + width: 100%; +} + +/*___________________________________ SIGN ___________________________________ */ +#dex-sign { + width: 255px; + height: 84px; + position: absolute; + left: 33%; + top: 45%; + opacity: .7; + /*background: url(http://www.drygiel.com/projects/sign/frames-255-white.png) 0 0 no-repeat;*/ +} + +#dex-sign:hover { + opacity: 1; + -webkit-filter: invert(30%) brightness(80%) sepia(100%) contrast(110%) saturate(953%) hue-rotate(45deg); +} diff --git a/static/css/styles.css b/static/css/styles.css index 87060bf..7c41a38 100644 --- a/static/css/styles.css +++ b/static/css/styles.css @@ -114,20 +114,20 @@ h6, .h6, h5, .h5, h4, .h4, h3, .h3, h2, .h2, h1, .h1 { } h1, .h1 { - font-size: calc(1.375rem + 1.5vw); + font-size: 4rem; } @media (min-width: 1200px) { h1, .h1 { - font-size: 2.5rem; + font-size: 4rem; } } h2, .h2 { - font-size: calc(1.325rem + 0.9vw); + font-size: 3rem; } @media (min-width: 1200px) { h2, .h2 { - font-size: 2rem; + font-size: 3rem; } } @@ -3035,13 +3035,13 @@ textarea.form-control-lg { .btn-primary { color: #fff; - background-color: #971b15; - border-color: #971b15; + background-color: #5ac3ab; + border-color: #5ac3ab; } .btn-primary:hover { color: #fff; - background-color: #5e110d; - border-color: #5e110d; + background-color: #408a78; + border-color: #5ac3ab; } .btn-check:focus + .btn-primary, .btn-primary:focus { color: #fff; @@ -3064,14 +3064,14 @@ textarea.form-control-lg { } .btn-secondary { - color: #fff; - background-color: #7464a1; - border-color: #7464a1; + color: #000000; + background-color: rgba(245, 191, 65, 1); + border-color: rgba(245, 191, 65, 1); } .btn-secondary:hover { color: #fff; - background-color: #635589; - border-color: #5d5081; + background-color: rgb(170, 133, 46); + border-color: rgb(170, 133, 46); } .btn-check:focus + .btn-secondary, .btn-secondary:focus { color: #fff; @@ -4595,7 +4595,7 @@ textarea.form-control-lg { color: #fff; } .navbar-dark .navbar-nav .nav-link { - color: rgba(255, 255, 255, 0.55); + color: rgba(255, 255, 255, 1); } .navbar-dark .navbar-nav .nav-link:hover, .navbar-dark .navbar-nav .nav-link:focus { color: rgba(255, 255, 255, 0.75); @@ -11484,13 +11484,13 @@ html { } body { - letter-spacing: 0.0625em; + letter-spacing: 0.015em; + font-size: 18px; } #mainNav { min-height: 3.0rem; background: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.3) 90%, rgba(0, 0, 0, 0) 100%); - padding-bottom: 2.5rem; } #mainNav .navbar-toggler { font-size: 80%; @@ -11570,9 +11570,6 @@ body { box-shadow: 0 0.1875rem 0.1875rem 0 rgba(0, 0, 0, 0.1) !important; padding: 1.25rem 2rem; font-family: "Varela Round", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; - font-size: 80%; - text-transform: uppercase; - letter-spacing: 0.15rem; border: 0; } @@ -11582,7 +11579,7 @@ body { height: auto; min-height: 35rem; padding: 15rem; - background: linear-gradient(to bottom, rgba(0, 0, 0, 0.0) 0%, rgba(0, 0, 0, 0.3) 90%, #000 100%), url("/header2.webp"); + background: url("/header.webp"); background-position: center; background-repeat: no-repeat; background-attachment: scroll; @@ -11591,7 +11588,7 @@ body { @media (min-width: 768px) { .masthead { - background: linear-gradient(to bottom, rgba(0, 0, 0, 0.0) 0%, rgba(0, 0, 0, 0.3) 90%, #000 100%), url("/header.webp"); + background: url("/header.webp"); background-position: center; background-repeat: no-repeat; background-attachment: scroll; @@ -11643,10 +11640,7 @@ body { .about-section { padding-top: 1rem; padding-bottom: 1rem; - background: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.9) 75%, rgba(0, 0, 0, 0.8) 100%); -} -.about-section p { - margin-bottom: 5rem; + background: linear-gradient(to bottom, rgba(135, 135, 135, 1) 0%, rgba(80, 80, 80, 1) 90%, rgba(0, 0, 0, 1) 100%); } .projects-section { @@ -11696,6 +11690,7 @@ body { } .contact-section { + background-color: #5ac3ab; padding-top: 2rem; } .contact-section .card { @@ -11713,9 +11708,7 @@ body { border-width: 0.25rem; width: 3rem; } -.contact-section .social { - margin-top: 5rem; -} + .contact-section .social a { text-align: center; height: 3rem; @@ -11734,6 +11727,7 @@ body { .footer { padding: 5rem 0; + background-color: rgba(245, 191, 65, 1); } /* graysx css */ @@ -11749,17 +11743,29 @@ body { .about-img { text-align: justify; - max-width: 100%; + border-radius: 2%; + max-width: 60%; +} + +@media (max-width: 992px) { + .about-img { + max-width: 100%; + } } .column { display: table-cell; + table-layout: fixed; } -.about-row { - display: table; - width: 100%; /*Optional*/ - table-layout: fixed; /*Optional*/ +@media (min-width: 992px) { + .about-row { + display: table; + width: 100%; /*Optional*/ + table-layout: fixed; /*Optional*/ + } + + } .listen-section { @@ -11800,3 +11806,47 @@ body { display: inline-block; } } + +@media (min-width: 992px) { + .about { + display: flex; + } + + .about-right { + display: flex; + flex-direction: row-reverse; + } + + .about-img { + height: 80%; + border-radius: 2%; + } +} + +@font-face { + font-family: Chilanka; + src: url("/Chilanka-Regular.otf"); +} + +@font-face { + font-family: ShadowsIntoLight; + src: url("/ShadowsIntoLight.ttf"); +} + +.chilanka { + font-family: Chilanka; +} + +.shadows-into-light { + font-family: ShadowsIntoLight; +} + +.btn-primary-foot { + max-width: 200px; +} + +@media (max-width: 576px) { + .overflow-x { + overflow-x: hidden !important; + } +} |
