{{section.title}}
+{{section.description}}
+diff --git a/themes/serinty-theme/README.md b/themes/serinty-theme/README.md new file mode 100644 index 0000000..84da391 --- /dev/null +++ b/themes/serinty-theme/README.md @@ -0,0 +1,10 @@ +Serinty Zolo Theme +================== + + +Install +======= + + +Config +====== diff --git a/themes/serinty-theme/config.toml b/themes/serinty-theme/config.toml new file mode 100644 index 0000000..9e3995b --- /dev/null +++ b/themes/serinty-theme/config.toml @@ -0,0 +1,46 @@ +# The URL the site will be built for +base_url = "https://zola.com" + +# Whether to automatically compile all Sass files in the sass directory +compile_sass = true +default_language = "en" +# Whether to build a search index to be used later on by a JavaScript library +build_search_index = false + + + + +[markdown] +# Whether to do syntax highlighting +# Theme can be customised by setting the `highlight_theme` variable to a theme supported by Zola +highlight_code = false + + +[languages.fr] +generate_feed = true # there will be a feed for French content +build_search_index = true + +[languages.fr.translations] +title = "My blog" + +[extra] +# Put all your custom variables here +logo_path = 'images/serinty.png' +usa = 'images/usa_flag.svg' +usa_icon='usa' +navbar_items = [ + { code = "en", nav_items = [ + { url = "$BASE_URL/", name = "Home",dropdown=[] }, + { url = "$BASE_URL/#", name = "About",dropdown=[] }, + { url = "$BASE_URL/#", name = "Services",dropdown=["service-1","service-2","service-3"] }, + { url = "$BASE_URL/#", name = "Pricing",dropdown=[] }, + { url = "$BASE_URL/#", name = "Contact",dropdown=[] }, + ] }, + {code="fr",nav_items = [ + { url = "$BASE_URL/", name = "Domicile",dropdown=[] }, + { url = "$BASE_URL/#", name = "Sur",dropdown=[] }, + { url = "$BASE_URL/#", name = "Services",dropdown=["service-1","service-2","service-3"] }, + { url = "$BASE_URL/#", name = "Tarification",dropdown=[] }, + { url = "$BASE_URL/#", name = "Contactez",dropdown=[] }, + ]}, +] \ No newline at end of file diff --git a/themes/serinty-theme/content/_index.fr.md b/themes/serinty-theme/content/_index.fr.md new file mode 100644 index 0000000..2ba9db4 --- /dev/null +++ b/themes/serinty-theme/content/_index.fr.md @@ -0,0 +1,4 @@ ++++ +title = "Nous aidons à propulser des millions d'entreprises dans plus de 100 pays" +description = "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s." ++++ diff --git a/themes/serinty-theme/content/_index.md b/themes/serinty-theme/content/_index.md new file mode 100644 index 0000000..47945d4 --- /dev/null +++ b/themes/serinty-theme/content/_index.md @@ -0,0 +1,4 @@ ++++ +title = 'We Help Power Millions Of Businesses in 100+ Countries' +description = "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s." ++++ diff --git a/themes/serinty-theme/css/home.css b/themes/serinty-theme/css/home.css new file mode 100644 index 0000000..329e161 --- /dev/null +++ b/themes/serinty-theme/css/home.css @@ -0,0 +1,24 @@ +@font-face { + font-family: OrigoPro; + src: url("../static/fonts/OrigoPro-Regular.woff") format("woff"); +} +body { + color: #004235; + background: url("images/giraffe.svg"); + background-size: 150%; + font-family: OrigoPro, sans-serif; +} + +.hero { + padding-top: 110px; +} +.hero .section-cont { + display: flex; + justify-content: center; + align-items: center; + line-height: 1.5; + font-size: 22px; +} +.hero .section-cont .text { + width: 50%; +}/*# sourceMappingURL=home.css.map */ \ No newline at end of file diff --git a/themes/serinty-theme/css/home.css.map b/themes/serinty-theme/css/home.css.map new file mode 100644 index 0000000..050ccbd --- /dev/null +++ b/themes/serinty-theme/css/home.css.map @@ -0,0 +1 @@ +{"version":3,"sources":["../sass/home.scss","home.css"],"names":[],"mappings":"AAAA;EACE,qBAAA;EACA,gEAAA;ACCF;ADCA;EACE,cAAA;EACA,qCAAA;EACA,qBAAA;EACA,iCAAA;ACCF;;ADCA;EACE,kBAAA;ACEF;ADDE;EACE,aAAA;EACA,uBAAA;EACA,mBAAA;EACA,gBAAA;EACA,eAAA;ACGJ;ADFI;EACE,UAAA;ACIN","file":"home.css"} \ No newline at end of file diff --git a/themes/serinty-theme/css/juice.css b/themes/serinty-theme/css/juice.css new file mode 100644 index 0000000..088f3e4 --- /dev/null +++ b/themes/serinty-theme/css/juice.css @@ -0,0 +1,269 @@ +.text-center { + text-align: center; +} + +.pos-absolute { + right: 0; + left: 0; + position: absolute; +} + +.box-shadow { + box-shadow: 0 2px 10px 2px #ddd; +} + +.heading-text { + font-family: "Fira Sans", sans-serif; + font-size: 32px; + font-weight: 600; + padding: 10px 0 25px 0; + color: var(--primary-text-color); +} + +h1, .title-text { + font-family: "Fira Sans", sans-serif; + font-size: 25px; + font-weight: 500; + color: var(--primary-text-color); + border-left: var(--primary-color) 8px solid; + padding-left: 10px; +} + +h2, .subtitle-text { + font-family: "Fira Sans", sans-serif; + font-size: 20px; + font-weight: 500; + color: var(--primary-text-color); +} + +.text { + font-family: "Fira Sans", sans-serif; + font-size: 18px; + font-weight: 400; + line-height: 26px; + letter-spacing: 0.2px; + color: var(--primary-text-color); +} + +.subtext { + font-family: "Fira Sans", sans-serif; + font-size: 16px; + font-weight: 400; + letter-spacing: 0.1px; +} + +.content { + padding: 0 40px; + display: flex; + flex-direction: column; + overflow-x: auto; +} + +.content pre { + overflow-x: auto; + padding: 1.25em 1.5em; + white-space: pre; + word-wrap: normal; + background-color: white; + color: #4a4a4a; + font-size: 0.875em; + font-family: monospace; +} + +.content code { + background-color: white; + color: #4a4a4a; + font-size: 0.875em; + font-weight: normal; + padding: 0.25em 0.5em; + font-family: monospace; +} + +.content pre code { + padding: 0; +} + +.content a { + color: var(--primary-link-color); +} +.content a:hover { + text-decoration: underline; +} + +.content blockquote { + border-left: #e2dede 8px solid; + margin: 0; + background-color: #f2f1f0; + padding: 0 20px; +} + +body { + padding: 0; + margin: 0; + box-sizing: border-box; + background-color: var(--secondary-color); + display: flex; + flex-direction: column; + min-height: 100vh; +} + +a { + text-decoration: none; +} + +ul { + margin-top: 0.5rem; +} + +ul > li { + padding: 0.3rem 0; +} + +p > img { + width: 100%; + height: auto; +} + +header { + background-color: var(--primary-color); + color: black; + padding: 20px 50px; + display: flex; + align-items: center; + justify-content: space-between; +} + +.logo { + font-family: "Alfa Slab One", serif; + font-size: 32px; + color: var(--primary-text-color); + display: flex; + align-items: center; + margin: 0 40px; +} +.logo img { + width: 60px; + margin: 0 25px; +} + +.nav-item { + margin: 0 10px; + text-decoration: none; + font-size: 18px; + font-weight: bold; +} +.nav-item:hover { + color: #000; + text-decoration: underline; +} + +.hero { + display: flex; + align-items: center; + justify-content: space-evenly; + height: 100vh; + background-color: var(--primary-color); + overflow-x: hidden; + padding: 0 40px; +} +.hero .explore-more { + position: absolute; + bottom: 20px; + cursor: pointer; +} + +main { + display: flex; + padding: 50px 100px; + flex-grow: 1; +} +main .toc { + max-width: 260px; + min-width: 240px; +} +main .toc-item { + padding: 10px 20px; + color: #424242; +} +main .toc-item a, main .toc-item-child a { + color: var(--secondary-text-color); +} +main .toc-item a:hover, main .toc-item-child a:hover { + cursor: pointer; + text-decoration: underline; +} +main .toc-item a.active, main .toc-item-child a.active { + color: var(--toc-highlight-text-color); +} +main .toc-item-child { + padding: 0 30px 5px; + color: #424242; +} + +.toc-sticky { + border-radius: 3px; + border-top: 5px solid var(--primary-color); + background-color: white; + position: sticky; + position: -webkit-sticky; + position: -moz-sticky; + position: -ms-sticky; + position: -o-sticky; + top: 10px; + padding: 10px 0 20px; + max-height: 100vh; + overflow: auto; +} + +footer { + padding: 50px; + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + background-color: #202020; + color: #fcfcfc; +} +footer a { + color: #fcfcfc; + text-decoration: underline; +} + +@media screen and (min-width: 1280px) { + .content { + max-width: 60%; + min-width: 800px; + } +} +@media screen and (max-width: 768px) { + header { + padding: 10px 30px; + flex-direction: column; + align-items: center; + justify-content: center; + } + .logo { + font-size: 28px; + margin: 10px; + } + .logo img { + width: 45px; + margin: 0 10px 0 0; + } + .nav-item { + margin: 0 5px; + font-size: 14px; + } + .hero { + padding: 40px 30px; + } + main { + padding: 30px; + } + .content { + padding: 0; + } + .explore-more, .toc { + display: none; + } +}/*# sourceMappingURL=juice.css.map */ \ No newline at end of file diff --git a/themes/serinty-theme/css/juice.css.map b/themes/serinty-theme/css/juice.css.map new file mode 100644 index 0000000..b11f605 --- /dev/null +++ b/themes/serinty-theme/css/juice.css.map @@ -0,0 +1 @@ +{"version":3,"sources":["../themes/juice/sass/_ultility.scss","juice.css","../themes/juice/sass/_text.scss","../themes/juice/sass/_markdown.scss","../themes/juice/sass/juice.scss"],"names":[],"mappings":"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","file":"juice.css"} \ No newline at end of file diff --git a/themes/serinty-theme/css/navbar.css b/themes/serinty-theme/css/navbar.css new file mode 100644 index 0000000..5106db0 --- /dev/null +++ b/themes/serinty-theme/css/navbar.css @@ -0,0 +1,136 @@ +@import url("../static/fonts/OrigoPro-Regular.eot"); +* { + margin: 0; + padding: 0; + box-sizing: border-box; +} + +body { + font-family: "OrigiPro-Regular", sans-serif; +} + +a { + text-decoration: none; +} + +li { + list-style: none; +} + +/* NAVBAR STYLING STARTS */ +.navbar { + display: flex; + align-items: center; + justify-content: space-between; + padding: 20px; + color: teal; +} + +.nav-links a { + color: #004235; +} + +/* LOGO */ +.logo { + font-size: 32px; +} + +/* NAVBAR MENU */ +.menu { + display: flex; + gap: 1em; + font-size: 18px; +} + +.menu li:hover { + border-bottom: 2px solid #4c9e9e; + border-radius: 2px; + transition: 0.3s ease-in-out; +} + +.menu li { + padding: 5px 14px; +} + +/* DROPDOWN MENU */ +.services { + position: relative; +} + +.dropdown { + background-color: #4c9e9e; + padding: 1em 0; + position: absolute; /*WITH RESPECT TO PARENT*/ + display: none; + border-radius: 8px; + top: 35px; +} + +.dropdown li + li { + margin-top: 10px; +} + +.dropdown li { + padding: 0.5em 1em; + width: 8em; + text-align: center; +} + +.dropdown li:hover { + background-color: #4c9e9e; +} + +.services:hover .dropdown { + display: block; +} + +/*RESPONSIVE NAVBAR MENU STARTS*/ +/* CHECKBOX HACK */ +input[type=checkbox] { + display: none; +} + +/*HAMBURGER MENU*/ +.hamburger { + display: none; + font-size: 24px; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +/* APPLYING MEDIA QUERIES */ +@media (max-width: 768px) { + .menu { + display: none; + position: absolute; + background-color: teal; + right: 0; + left: 0; + text-align: center; + padding: 16px 0; + } + .menu li:hover { + display: inline-block; + background-color: #4c9e9e; + transition: 0.3s ease; + } + .menu li + li { + margin-top: 12px; + } + input[type=checkbox]:checked ~ .menu { + display: block; + } + .hamburger { + display: block; + } + .dropdown { + left: 50%; + top: 30px; + transform: translateX(35%); + } + .dropdown li:hover { + background-color: #4c9e9e; + } +}/*# sourceMappingURL=navbar.css.map */ \ No newline at end of file diff --git a/themes/serinty-theme/css/navbar.css.map b/themes/serinty-theme/css/navbar.css.map new file mode 100644 index 0000000..c1d73e9 --- /dev/null +++ b/themes/serinty-theme/css/navbar.css.map @@ -0,0 +1 @@ +{"version":3,"sources":["../sass/navbar.scss","navbar.css"],"names":[],"mappings":"AAAQ,mDAAA;AACR;EACE,SAAA;EACA,UAAA;EACA,sBAAA;ACCF;;ADCA;EACE,2CAAA;ACEF;;ADAA;EACE,qBAAA;ACGF;;ADDA;EACE,gBAAA;ACIF;;ADFA,0BAAA;AACA;EACE,aAAA;EACA,mBAAA;EACA,8BAAA;EACA,aAAA;EACA,WAAA;ACKF;;ADHA;EACE,cAAA;ACMF;;ADJA,SAAA;AACA;EACE,eAAA;ACOF;;ADLA,gBAAA;AACA;EACE,aAAA;EACA,QAAA;EACA,eAAA;ACQF;;ADNA;EACE,gCAAA;EACA,kBAAA;EACA,4BAAA;ACSF;;ADPA;EACE,iBAAA;ACUF;;ADRA,kBAAA;AACA;EACE,kBAAA;ACWF;;ADTA;EACE,yBAAA;EACA,cAAA;EACA,kBAAA,EAAA,yBAAA;EACA,aAAA;EACA,kBAAA;EACA,SAAA;ACYF;;ADVA;EACE,gBAAA;ACaF;;ADXA;EACE,kBAAA;EACA,UAAA;EACA,kBAAA;ACcF;;ADZA;EACE,yBAAA;ACeF;;ADbA;EACE,cAAA;ACgBF;;ADdA,gCAAA;AACA,kBAAA;AACA;EACE,aAAA;ACiBF;;ADfA,iBAAA;AACA;EACE,aAAA;EACA,eAAA;EACA,yBAAA;KAAA,sBAAA;MAAA,qBAAA;UAAA,iBAAA;ACkBF;;ADhBA,2BAAA;AACA;EACE;IACE,aAAA;IACA,kBAAA;IACA,sBAAA;IACA,QAAA;IACA,OAAA;IACA,kBAAA;IACA,eAAA;ECmBF;EDjBA;IACE,qBAAA;IACA,yBAAA;IACA,qBAAA;ECmBF;EDjBA;IACE,gBAAA;ECmBF;EDjBA;IACE,cAAA;ECmBF;EDjBA;IACE,cAAA;ECmBF;EDjBA;IACE,SAAA;IACA,SAAA;IACA,0BAAA;ECmBF;EDjBA;IACE,yBAAA;ECmBF;AACF","file":"navbar.css"} \ No newline at end of file diff --git a/themes/serinty-theme/licence.md b/themes/serinty-theme/licence.md new file mode 100644 index 0000000..7be50aa --- /dev/null +++ b/themes/serinty-theme/licence.md @@ -0,0 +1,8 @@ +The MIT License (MIT) +Copyright © 2022 Andile Masela + +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 diff --git a/themes/serinty-theme/package-lock.json b/themes/serinty-theme/package-lock.json new file mode 100644 index 0000000..58b861a --- /dev/null +++ b/themes/serinty-theme/package-lock.json @@ -0,0 +1,24 @@ +{ + "name": "fiverZola", + "lockfileVersion": 2, + "requires": true, + "packages": { + "": { + "dependencies": { + "flag-icons": "^6.6.6" + } + }, + "node_modules/flag-icons": { + "version": "6.6.6", + "resolved": "https://registry.npmjs.org/flag-icons/-/flag-icons-6.6.6.tgz", + "integrity": "sha512-4lHDKxldnQ7q617pf9Dx9nAetT+9zcMpUexbRrc9kjLw9KJgZ83zA5Dky3Vv7ZDzUjAiZ46x/cy5P0HnEnqA2A==" + } + }, + "dependencies": { + "flag-icons": { + "version": "6.6.6", + "resolved": "https://registry.npmjs.org/flag-icons/-/flag-icons-6.6.6.tgz", + "integrity": "sha512-4lHDKxldnQ7q617pf9Dx9nAetT+9zcMpUexbRrc9kjLw9KJgZ83zA5Dky3Vv7ZDzUjAiZ46x/cy5P0HnEnqA2A==" + } + } +} diff --git a/themes/serinty-theme/package.json b/themes/serinty-theme/package.json new file mode 100644 index 0000000..b86744d --- /dev/null +++ b/themes/serinty-theme/package.json @@ -0,0 +1,5 @@ +{ + "dependencies": { + "flag-icons": "^6.6.6" + } +} diff --git a/themes/serinty-theme/sass/home.scss b/themes/serinty-theme/sass/home.scss new file mode 100644 index 0000000..e9e5420 --- /dev/null +++ b/themes/serinty-theme/sass/home.scss @@ -0,0 +1,85 @@ +@font-face { + font-family: "Origo Pro"; + src: url("fonts/OrigoPro-Regular.eot"); + src: url("fonts/OrigoPro-Regular.eot?#iefix") format("embedded-opentype"), + url("fonts/OrigoPro-Regular.woff2") format("woff2"), + url("fonts/OrigoPro-Regular.woff") format("woff"), + url("fonts/OrigoPro-Regular.ttf") format("truetype"), + url("fonts/OrigoPro-Regular.svg#Origo Pro") format("svg"); +} +body { + color: #004235; + background-image: url("images/giraffe.svg"); + background-size: 150%; + font-family: "Origo Pro"; + font-weight: Regular; + .fa-sun-o { + display: none; + } + .fa-moon-o { + display: block; + color: #000000; + } +} +.dark-mode { + background-color: #000000; + background-repeat: repeat; + color: #ccffdb; + font-family: "Origo Pro"; + font-weight: Regular; + .fa-moon-o { + display: none; + } + .fa-sun-o { + display: block; + } + + a:visited { + color: #5e5e5e; + } + a:link { + color: #bbeeca; + } + a:hover { + color: #ca88df; + } + a:active { + color: #004235; + } +} +.hero { + padding-top: 110px; + .section-cont { + display: flex; + justify-content: center; + align-items: center; + line-height: 1.5; + font-size: 22px; + .text { + width: 40%; + h1 { + font-size: 50px; + } + } + } +} +@media (max-width: 768px) { + .dark-mode { + select { + color: #ccffdb; + font-family: "Origo Pro"; + font-weight: Regular; + } + } + .hero { + padding-top: 10px; + .section-cont { + display: flex; + + flex-flow: column-reverse; + .text { + width: 80%; + } + } + } +} diff --git a/themes/serinty-theme/sass/navbar.scss b/themes/serinty-theme/sass/navbar.scss new file mode 100644 index 0000000..8807e87 --- /dev/null +++ b/themes/serinty-theme/sass/navbar.scss @@ -0,0 +1,234 @@ +@font-face { + font-family: "Origo Pro"; + src: url("fonts/OrigoPro-Regular.eot"); + src: url("fonts/OrigoPro-Regular.eot?#iefix") format("embedded-opentype"), + url("fonts/OrigoPro-Regular.woff2") format("woff2"), + url("fonts/OrigoPro-Regular.woff") format("woff"), + url("fonts/OrigoPro-Regular.ttf") format("truetype"), + url("fonts/OrigoPro-Regular.svg#Origo Pro") format("svg"); +} +* { + margin: 0; + padding: 0; + box-sizing: border-box; +} +body { + font-family: "OrigiPro-Regular", sans-serif; +} +a { + text-decoration: none; +} +li { + list-style: none; +} +/* NAVBAR STYLING STARTS */ +.navbar { + display: flex; + align-items: center; + justify-content: space-around; + padding: 20px; + color: teal; +} +.nav-links a { + color: #004235; +} +/* LOGO */ +.logo { + font-size: 32px; + height: 60px; + img { + height: 100%; + } +} +/* NAVBAR MENU */ +.menu { + display: flex; + gap: 1em; + font-size: 18px; + font-family: "Origo Pro"; + font-weight: Regular; + flex: 0.8; +} +.menu li:hover { + border-bottom: 2px solid #4c9e9e; + border-radius: 2px; + transition: 0.3s ease-in-out; +} +.menu li { + padding: 5px 14px; +} +/* DROPDOWN MENU */ +.services, +.languages { + position: relative; +} +.dropdown { + background-color: #4c9e9e; + padding: 1em 0; + position: absolute; /*WITH RESPECT TO PARENT*/ + display: none; + border-radius: 8px; + top: 35px; +} +.dropdown li + li { + margin-top: 10px; +} +.dropdown li { + padding: 0.5em 1em; + width: 8em; + text-align: center; +} +.dropdown li:hover { + background-color: #4c9e9e; +} +.services:hover .dropdown, +.languages:hover .lang { + display: block; +} +.remove_on_mobile { + display: flex; + justify-content: space-between; + select { + margin-right: 10px; + } +} +.mobile-nav { + display: none; +} +.lang { + // background-color: #4c9e9e; + padding: 1em 0; + position: absolute; /*WITH RESPECT TO PARENT*/ + display: none; + border-radius: 8px; + top: 35px; +} +/*RESPONSIVE NAVBAR MENU STARTS*/ +/* CHECKBOX HACK */ +input[type="checkbox"] { + display: none; +} + +// switch button +.li_checkbox:hover { + border-bottom: none !important; +} + +.checkbox { + display: flex; + align-items: center; + input[type="checkbox"] { + height: 18px; + &.switch { + overflow: hidden; + border: 0; + border-radius: 999px; + width: 30px; + appearance: none; + display: flex; + align-items: center; + background: #fff; + margin: 0; + position: relative; + border: 1px solid #d1d5db; + transition: 0.2s ease-in; + cursor: pointer; + &:before { + content: ""; + width: 12px; + height: 12px; + transform: translatex(0); + position: absolute; + border-radius: 50%; + margin: 2px; + background: #d1d5db; + transition: 0.2s ease-in; + } + &:checked { + background: #5048e5; + border-color: #5048e5; + &:before { + transform: translatex(100%); + background: #fff; + } + } + & ~ label { + cursor: pointer; + color: #374151; + font-weight: 400; + margin: 0 0 0 10px; + } + } + } +} +/*HAMBURGER MENU*/ +.hamburger { + display: none; + font-size: 24px; + user-select: none; +} +/* APPLYING MEDIA QUERIES */ +@media (max-width: 768px) { + .navbar { + justify-content: space-between; + } + .remove_on_mobile { + display: none; + } + .nav-links { + width: 50%; + display: flex; + + .mobile-nav { + display: flex; + width: 100%; + justify-content: space-around; + + select { + background-color: transparent; + option { + border-radius: 0px; + width: 200px; + text-transform: uppercase; + } + } + } + } + .menu { + display: none; + position: absolute; + background-color: rgb(191, 240, 240); + top: 0px; + right: 50%; + left: 0; + text-align: center; + padding: 70px 0; + height: 100%; + font-family: "Origo Pro"; + font-weight: Regular; + } + .menu li:hover { + display: inline-block; + background-color: #4c9e9e; + transition: 0.3s ease; + } + .menu li + li { + margin-top: 12px; + } + input[type="checkbox"]:checked ~ .menu { + display: block; + } + .hamburger { + display: block; + font-size: 35px; + } + .dropdown, + .lang { + left: 50%; + top: 30px; + transform: translateX(35%); + } + .dropdown li:hover { + background-color: #4c9e9e; + } +} diff --git a/themes/serinty-theme/static/fonts/OrigoPro-Regular.eot b/themes/serinty-theme/static/fonts/OrigoPro-Regular.eot new file mode 100644 index 0000000..271e5c0 Binary files /dev/null and b/themes/serinty-theme/static/fonts/OrigoPro-Regular.eot differ diff --git a/themes/serinty-theme/static/fonts/OrigoPro-Regular.otf b/themes/serinty-theme/static/fonts/OrigoPro-Regular.otf new file mode 100644 index 0000000..4874171 Binary files /dev/null and b/themes/serinty-theme/static/fonts/OrigoPro-Regular.otf differ diff --git a/themes/serinty-theme/static/fonts/OrigoPro-Regular.svg b/themes/serinty-theme/static/fonts/OrigoPro-Regular.svg new file mode 100644 index 0000000..d122b47 --- /dev/null +++ b/themes/serinty-theme/static/fonts/OrigoPro-Regular.svg @@ -0,0 +1,797 @@ + + + diff --git a/themes/serinty-theme/static/fonts/OrigoPro-Regular.woff b/themes/serinty-theme/static/fonts/OrigoPro-Regular.woff new file mode 100644 index 0000000..7c8c5b3 Binary files /dev/null and b/themes/serinty-theme/static/fonts/OrigoPro-Regular.woff differ diff --git a/themes/serinty-theme/static/fonts/OrigoPro-Regular.woff2 b/themes/serinty-theme/static/fonts/OrigoPro-Regular.woff2 new file mode 100644 index 0000000..13a0d8b Binary files /dev/null and b/themes/serinty-theme/static/fonts/OrigoPro-Regular.woff2 differ diff --git a/themes/serinty-theme/static/images/giraffe.svg b/themes/serinty-theme/static/images/giraffe.svg new file mode 100644 index 0000000..e15a855 --- /dev/null +++ b/themes/serinty-theme/static/images/giraffe.svg @@ -0,0 +1,439 @@ + + diff --git a/themes/serinty-theme/static/images/group.png b/themes/serinty-theme/static/images/group.png new file mode 100644 index 0000000..7a5e909 Binary files /dev/null and b/themes/serinty-theme/static/images/group.png differ diff --git a/themes/serinty-theme/static/images/serinty.png b/themes/serinty-theme/static/images/serinty.png new file mode 100644 index 0000000..bf5095e Binary files /dev/null and b/themes/serinty-theme/static/images/serinty.png differ diff --git a/themes/serinty-theme/static/images/serinty.svg b/themes/serinty-theme/static/images/serinty.svg new file mode 100644 index 0000000..a27ac87 --- /dev/null +++ b/themes/serinty-theme/static/images/serinty.svg @@ -0,0 +1,92 @@ + + diff --git a/themes/serinty-theme/static/images/usa_flag.svg b/themes/serinty-theme/static/images/usa_flag.svg new file mode 100644 index 0000000..16551f6 --- /dev/null +++ b/themes/serinty-theme/static/images/usa_flag.svg @@ -0,0 +1,48 @@ + + + + diff --git a/themes/serinty-theme/templates/_macros.html b/themes/serinty-theme/templates/_macros.html new file mode 100644 index 0000000..f1ad835 --- /dev/null +++ b/themes/serinty-theme/templates/_macros.html @@ -0,0 +1,82 @@ +{% macro render_header() %} + + + +{% endmacro render_header %} diff --git a/themes/serinty-theme/templates/base.html b/themes/serinty-theme/templates/base.html new file mode 100644 index 0000000..83a2899 --- /dev/null +++ b/themes/serinty-theme/templates/base.html @@ -0,0 +1,39 @@ +{% import "_macros.html" as macros %} + + +
+ + + + + + + + {% if page.title %} +{{section.description}}
+
+ {{section.content | safe}}
+