Porting all CSS to SCSS for easier maintainance, checking on all best practices.
This commit is contained in:
parent
4f5089655b
commit
bdded822bd
2
LICENSE
2
LICENSE
|
@ -630,7 +630,7 @@ attach them to the start of each source file to most effectively state
|
|||
the exclusion of warranty; and each file should have at least the
|
||||
"copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
Omegamma - Hugo theme for ad5001.eu and related websites..
|
||||
Omegamma - Hugo theme for ad5001.eu and related websites.
|
||||
Copyright (C) 2021 Ad5001
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
|
|
|
@ -0,0 +1,100 @@
|
|||
/**
|
||||
* Omegamma - Hugo theme for ad5001.eu and related websites.
|
||||
* Copyright (C) 2021 Ad5001
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
// CSS specific to the apps website.
|
||||
|
||||
#appslist {
|
||||
width: Min(108em, 100vw);
|
||||
}
|
||||
|
||||
@media screen and (max-width: 108em) {
|
||||
#appslist {
|
||||
width: 81em;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 81em) {
|
||||
#appslist {
|
||||
width: 54em;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 54em) {
|
||||
#appslist {
|
||||
width: Min(27em, 100vw);
|
||||
}
|
||||
}
|
||||
|
||||
.app-download {
|
||||
--border: solid 1px var(--primary-color);
|
||||
--border-radius: 1rem;
|
||||
border-right: var(--border);
|
||||
border-bottom: var(--border);
|
||||
|
||||
&:first-of-type {
|
||||
border-left: var(--border);
|
||||
border-top-left-radius: var(--border-radius);
|
||||
border-bottom-left-radius: var(--border-radius);
|
||||
|
||||
.app-download-platform {
|
||||
border-top-left-radius: var(--border-radius);
|
||||
}
|
||||
}
|
||||
|
||||
&:last-of-type {
|
||||
border-top-right-radius: var(--border-radius);
|
||||
border-bottom-right-radius: var(--border-radius);
|
||||
|
||||
.app-download-platform {
|
||||
border-top-right-radius: var(--border-radius);
|
||||
}
|
||||
}
|
||||
|
||||
.app-download-platform {
|
||||
line-height: 3;
|
||||
font-size: x-large;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@media screen and (max-width: 700px) {
|
||||
.app-download {
|
||||
border-left: var(--border);
|
||||
|
||||
&:first-of-type {
|
||||
border-top-left-radius: var(--border-radius) !important;
|
||||
border-top-right-radius: var(--border-radius) !important;
|
||||
border-bottom-left-radius: 0;
|
||||
|
||||
& .app-download-platform {
|
||||
border-top-left-radius: var(--border-radius) !important;
|
||||
border-top-right-radius: var(--border-radius) !important;
|
||||
}
|
||||
}
|
||||
|
||||
&:last-of-type {
|
||||
border-top-right-radius: 0;
|
||||
border-bottom-left-radius: var(--border-radius) !important;
|
||||
border-bottom-right-radius: var(--border-radius) !important;
|
||||
|
||||
& .app-download-platform {
|
||||
border-top-right-radius: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,20 @@
|
|||
/**
|
||||
* Omegamma - Hugo theme for ad5001.eu and related websites.
|
||||
* Copyright (C) 2021 Ad5001
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
@import "components/blocks/preview";
|
||||
@import "components/blocks/card";
|
|
@ -1,3 +1,24 @@
|
|||
/**
|
||||
* Omegamma - Hugo theme for ad5001.eu and related websites.
|
||||
* Copyright (C) 2021 Ad5001
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
@import "components/columns";
|
||||
@import "components/button";
|
||||
|
||||
body {
|
||||
font-family: 'Metropolis', 'Fira Sans','Ubuntu', 'Noto Sans', sans-serif;
|
||||
overflow-x: hidden;
|
||||
|
@ -18,37 +39,23 @@ body {
|
|||
padding: 1em;
|
||||
}
|
||||
|
||||
/* button */
|
||||
.padding-container-3 {
|
||||
padding-left: 3em;
|
||||
padding-right: 3em;
|
||||
}
|
||||
|
||||
a[role=button] {
|
||||
text-decoration: none;
|
||||
color: black;
|
||||
cursor: pointer;
|
||||
hr {
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
.primary {
|
||||
background-color: var(--primary-color);
|
||||
--theme-color: var(--primary-color);
|
||||
}
|
||||
|
||||
.secondary {
|
||||
background-color: var(--secondary-color);
|
||||
}
|
||||
|
||||
a[role=button].primary, a[role=button].secondary {
|
||||
padding: 0.5em;
|
||||
text-transform: uppercase;
|
||||
font-size: larger;
|
||||
box-shadow: 0px 0px 2px 0px #000000;
|
||||
transition: box-shadow 0.2s;
|
||||
line-height: 3em;
|
||||
}
|
||||
|
||||
a[role=button].primary:active, a[role=button].secondary:active {
|
||||
box-shadow: 0px 0px 8px 0px #000000;
|
||||
}
|
||||
|
||||
a[role=button].primary:hover, a[role=button].secondary:hover {
|
||||
box-shadow: 0px 0px 4px 0px #000000;
|
||||
--theme-color: var(--secondary-color);
|
||||
}
|
||||
|
||||
.text-white a[role=button]:not(.primary), a[role=button]:not(.primary).text-white {
|
||||
|
@ -83,6 +90,8 @@ img.center {
|
|||
max-height: 100%;
|
||||
}
|
||||
|
||||
/* text and image formatting */
|
||||
|
||||
.text-left {
|
||||
text-align: left;
|
||||
}
|
||||
|
@ -97,10 +106,10 @@ img.center {
|
|||
|
||||
.text-white {
|
||||
color: white;
|
||||
}
|
||||
|
||||
.text-white .icon-monochrome {
|
||||
filter: invert(96%) sepia(0%) saturate(0%) hue-rotate(119deg) brightness(104%) contrast(104%);
|
||||
|
||||
.icon-monochrome {
|
||||
filter: invert(96%) sepia(0%) saturate(0%) hue-rotate(119deg) brightness(104%) contrast(104%);
|
||||
}
|
||||
}
|
||||
|
||||
.icon-as-text {
|
||||
|
@ -118,11 +127,30 @@ img.center {
|
|||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.icon-larger2-text {
|
||||
width: 1.6em;
|
||||
height: 1.6em;
|
||||
margin-right: 0.4em;
|
||||
margin-top: -0.3em;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.icon-twice-text {
|
||||
width: 2em;
|
||||
height: 2em;
|
||||
margin-right: 0.4em;
|
||||
margin-top: -0.5em;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: xx-large;
|
||||
font-family: var(--light-font);
|
||||
&.larger {
|
||||
font-size: xxx-large;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
h2 {
|
||||
font-size: x-large;
|
||||
font-family: var(--light-font);
|
||||
|
@ -132,7 +160,7 @@ h3 {
|
|||
font-family: var(--light-font);
|
||||
}
|
||||
|
||||
p {
|
||||
.text-content {
|
||||
line-height: 1.5em;
|
||||
}
|
||||
|
||||
|
@ -157,68 +185,3 @@ p {
|
|||
.flex-center {
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
/* Columns */
|
||||
.columns-container {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.col1:not(.col1-fill) {
|
||||
width: 50%;
|
||||
margin-right: auto !important;
|
||||
margin-left: auto !important;
|
||||
}
|
||||
|
||||
.col1.col1-fill {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.col2 {
|
||||
width: 50%;
|
||||
}
|
||||
|
||||
.col3 {
|
||||
width: 33%;
|
||||
}
|
||||
|
||||
.col2-3 {
|
||||
width: 66%;
|
||||
}
|
||||
|
||||
.col4 {
|
||||
width: 25%;
|
||||
}
|
||||
|
||||
.col3-4 {
|
||||
width: 75%;
|
||||
}
|
||||
|
||||
.col5 {
|
||||
width: 20%;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 700px) {
|
||||
:not(footer) > .columns-container {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.column {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.section-header .column > img {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.column :not(p).text-right, .column.text-right :not(p), .column :not(p).text-left, .column.text-left :not(p) {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.column .flex-right {
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.col1:not(.col1-fill) {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,52 @@
|
|||
/**
|
||||
* Omegamma - Hugo theme for ad5001.eu and related websites.
|
||||
* Copyright (C) 2021 Ad5001
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
// Cards used on main website
|
||||
.card {
|
||||
--angle: 0deg;
|
||||
transition: box-shadow 0.2s;
|
||||
box-shadow: 0px 0px 2px 0px #000000;
|
||||
|
||||
// Specifiying gradient orientation
|
||||
&.topleft2bottomright {
|
||||
--angle: 135deg;
|
||||
}
|
||||
&.topright2bottomleft {
|
||||
--angle: 225deg;
|
||||
}
|
||||
&.top2bottom {
|
||||
--angle: 180deg;
|
||||
}
|
||||
|
||||
// Gradient colors
|
||||
&.yellow {
|
||||
background: linear-gradient(var(--angle, 0deg), rgba(255,255,204,1) 0%, rgba(255,242,107,1) 100%);
|
||||
}
|
||||
&.blue {
|
||||
background: linear-gradient(var(--angle, 0deg), rgba(204,253,255,1) 0%, rgba(107,250,255,1) 100%);
|
||||
}
|
||||
&.red {
|
||||
background: linear-gradient(var(--angle, 0deg), rgba(255,204,204,1) 0%, rgba(255,107,107,1) 100%);
|
||||
}
|
||||
&.green {
|
||||
background: linear-gradient(var(--angle, 0deg), rgba(206,255,204,1) 0%, rgba(124,255,107,1) 100%);
|
||||
}
|
||||
&.purple {
|
||||
background: linear-gradient(var(--angle, 0deg), rgba(229,181,255,1) 0%, rgba(210,114,255,1) 100%);
|
||||
}
|
||||
}
|
|
@ -0,0 +1,64 @@
|
|||
/**
|
||||
* Omegamma - Hugo theme for ad5001.eu and related websites.
|
||||
* Copyright (C) 2021 Ad5001
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
// Preview blocks used in the apps main page.
|
||||
.block-preview {
|
||||
box-shadow: 0px 0px 2px 0px #000000;
|
||||
width: Min(25em, calc(100vw - 2em));
|
||||
height: 20em;
|
||||
background-size: cover;
|
||||
background-repeat: no-repeat;
|
||||
|
||||
// Base label setting
|
||||
.label {
|
||||
transition: max-height 0.15s ease-in;
|
||||
max-height: 20%;
|
||||
overflow: hidden;
|
||||
bottom: 0;
|
||||
background-color: #FFFFFFDD;
|
||||
padding: 0.5em;
|
||||
bottom: 0;
|
||||
|
||||
// Hide this information by default
|
||||
.show-on-hover {
|
||||
display: none;
|
||||
transition: opacity 0.15s;
|
||||
opacity: 0;
|
||||
max-height: 0;
|
||||
background: none;
|
||||
}
|
||||
}
|
||||
|
||||
// Used when the block is hovered/toggled
|
||||
&:hover, &.toggled {
|
||||
box-shadow: 0px 0px 4px 0px #000000;
|
||||
|
||||
// Take full height
|
||||
.label {
|
||||
max-height: 100%;
|
||||
height: calc(100% - 1em);
|
||||
|
||||
// Show previously hidden text
|
||||
.show-on-hover {
|
||||
display: block;
|
||||
opacity: 1;
|
||||
max-height: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,46 @@
|
|||
/**
|
||||
* Omegamma - Hugo theme for ad5001.eu and related websites.
|
||||
* Copyright (C) 2021 Ad5001
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
a[role=button] {
|
||||
text-decoration: none;
|
||||
color: black;
|
||||
cursor: pointer;
|
||||
|
||||
&.primary, &.secondary {
|
||||
padding: 0.5em;
|
||||
text-transform: uppercase;
|
||||
font-size: larger;
|
||||
box-shadow: 0px 0px 2px 0px #000000;
|
||||
transition: box-shadow 0.15s ease-in-out, filter 0.15s ease-in-out;
|
||||
line-height: 3em;
|
||||
filter: brightness(100%);
|
||||
|
||||
&:active {
|
||||
box-shadow: 0px 0px 8px 0px #000000;
|
||||
filter: brightness(80%);
|
||||
}
|
||||
|
||||
&:hover {
|
||||
box-shadow: 0px 0px 8px 0px #000000;
|
||||
filter: brightness(90%);
|
||||
}
|
||||
}
|
||||
|
||||
&.primary {
|
||||
}
|
||||
}
|
|
@ -0,0 +1,91 @@
|
|||
/**
|
||||
* Omegamma - Hugo theme for ad5001.eu and related websites.
|
||||
* Copyright (C) 2021 Ad5001
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
// All columns related rules.
|
||||
.columns-container {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.column {
|
||||
&.col1 {
|
||||
&:not(.col1-fill) {
|
||||
width: 50%;
|
||||
margin-right: auto !important;
|
||||
margin-left: auto !important;
|
||||
}
|
||||
|
||||
&.col1-fill {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
&.col2 {
|
||||
width: 50%;
|
||||
}
|
||||
|
||||
&.col3 {
|
||||
width: 33%;
|
||||
}
|
||||
|
||||
&.col2-3 {
|
||||
width: 66%;
|
||||
}
|
||||
|
||||
&.col4 {
|
||||
width: 25%;
|
||||
}
|
||||
|
||||
&.col3-4 {
|
||||
width: 75%;
|
||||
}
|
||||
|
||||
&.col5 {
|
||||
width: 20%;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 700px) {
|
||||
.padding-container-3 {
|
||||
padding-left: 0.5em;
|
||||
padding-right: 0.5em;
|
||||
}
|
||||
|
||||
:not(footer) > .columns-container {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.column {
|
||||
width: 100%;
|
||||
|
||||
& :not(p).text-right, &.text-right :not(p), & :not(p).text-left, &.text-left :not(p) {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.flex-right {
|
||||
justify-content: center;
|
||||
}
|
||||
}
|
||||
|
||||
.section-header .column > img {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.col1:not(.col1-fill) {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,38 @@
|
|||
/**
|
||||
* Omegamma - Hugo theme for ad5001.eu and related websites.
|
||||
* Copyright (C) 2021 Ad5001
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
section.section-header {
|
||||
height: calc(100vh + 3em);
|
||||
|
||||
& > div.columns-container {
|
||||
padding-top: 3em !important;
|
||||
height: calc(100% - 6em);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@media screen and (max-width: 700px) {
|
||||
section.section-header {
|
||||
height: auto;
|
||||
min-height: calc(100vh + 3em);
|
||||
|
||||
& > div.columns-container {
|
||||
min-height: calc(100vh - 3em);
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,37 @@
|
|||
/**
|
||||
* Omegamma - Hugo theme for ad5001.eu and related websites.
|
||||
* Copyright (C) 2021 Ad5001
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
section.section1 {
|
||||
background-size: cover;
|
||||
background-repeat: no-repeat;
|
||||
color: black;
|
||||
padding-left: 1em;
|
||||
padding-top: 1em;
|
||||
padding-right: 1em;
|
||||
}
|
||||
|
||||
.section-end-triangle {
|
||||
width: 0;
|
||||
height: 0;
|
||||
border-top-width: 3em;
|
||||
border-top-style: solid;
|
||||
border-top-color: transparent;
|
||||
border-right-width: 100vw;
|
||||
border-right-style: solid;
|
||||
border-right-color: #FFFFFF;
|
||||
}
|
|
@ -0,0 +1,32 @@
|
|||
/**
|
||||
* Omegamma - Hugo theme for ad5001.eu and related websites.
|
||||
* Copyright (C) 2021 Ad5001
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
section.section-skewed {
|
||||
--angle: 2deg;
|
||||
transform: skewY(var(--angle));
|
||||
background: #D2D2D2;
|
||||
background: linear-gradient(170deg, rgba(238,238,238,1) 0%, rgba(210,210,210,1) 49%, rgba(238,238,238,1) 100%);
|
||||
padding-top: 3em;
|
||||
padding-bottom: 3em;
|
||||
margin-bottom: 2em;
|
||||
}
|
||||
|
||||
section.section-skewed > * {
|
||||
transform: skewY(calc(0deg - var(--angle)));
|
||||
}
|
||||
|
|
@ -0,0 +1,36 @@
|
|||
/**
|
||||
* Omegamma - Hugo theme for ad5001.eu and related websites.
|
||||
* Copyright (C) 2021 Ad5001
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
@font-face {
|
||||
font-family: "Metropolis";
|
||||
src: url(/fonts/metropolis/Metropolis-Regular.otf) format("opentype");
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Metropolis";
|
||||
src: url(/fonts/metropolis/Metropolis-Bold.otf) format("opentype");
|
||||
font-weight: bold;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Metropolis Light";
|
||||
src: url(/fonts/metropolis/Metropolis-Light.otf) format("opentype");
|
||||
font-display: swap;
|
||||
}
|
|
@ -0,0 +1,38 @@
|
|||
/**
|
||||
* Omegamma - Hugo theme for ad5001.eu and related websites.
|
||||
* Copyright (C) 2021 Ad5001
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
footer {
|
||||
width: 100%;
|
||||
background: var(--footer-background);
|
||||
color: white;
|
||||
|
||||
a:not([role=button]) {
|
||||
color: #3DAEE9;
|
||||
}
|
||||
}
|
||||
|
||||
.footer-social-list {
|
||||
display: flex;
|
||||
font-size: 24px;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 550px) {
|
||||
footer {
|
||||
font-size: 17px;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,184 @@
|
|||
/**
|
||||
* Omegamma - Hugo theme for ad5001.eu and related websites.
|
||||
* Copyright (C) 2021 Ad5001
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
nav {
|
||||
font-size: 1.3em;
|
||||
height: 3em;
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
font-family: var(--light-font);
|
||||
|
||||
.nav-flex {
|
||||
display: flex;
|
||||
max-width: 99%;
|
||||
}
|
||||
|
||||
.navbar-brand {
|
||||
padding-top: 1em;
|
||||
padding-left: 0.5em;
|
||||
display: flex;
|
||||
|
||||
.icon-brand {
|
||||
width: 2.5em;
|
||||
height: 2.5em;
|
||||
margin-top: -0.7em;
|
||||
margin-right: 5px;
|
||||
}
|
||||
}
|
||||
|
||||
.navbar-menu {
|
||||
flex: auto;
|
||||
display: block;
|
||||
width: 2em;
|
||||
}
|
||||
|
||||
// Links list
|
||||
.navbar-list {
|
||||
float: right;
|
||||
flex: auto;
|
||||
display: flex;
|
||||
margin-top: 0px;
|
||||
list-style-type: none;
|
||||
text-transform: uppercase;
|
||||
|
||||
li {
|
||||
list-style: none;
|
||||
|
||||
&.active {
|
||||
background-color: var(--primary-color);
|
||||
}
|
||||
|
||||
&.background a[role=button] {
|
||||
background-color: var(--nav-background);
|
||||
color: black;
|
||||
}
|
||||
|
||||
a {
|
||||
padding: 1em;
|
||||
margin-left: 0;
|
||||
display: flex;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.menu-with-sub {
|
||||
display: block;
|
||||
|
||||
.sub-menu {
|
||||
display: none;
|
||||
position: absolute;
|
||||
padding: 0;
|
||||
margin-top: -2px;
|
||||
}
|
||||
|
||||
&.toggled .sub-menu, &:hover .sub-menu, & .sub-menu:hover {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
#navbar-toggler {
|
||||
border: 0;
|
||||
background: none;
|
||||
box-shadow: none;
|
||||
border-radius: 0px;
|
||||
display: none;
|
||||
cursor: pointer;
|
||||
padding-right: 1em;
|
||||
|
||||
img {
|
||||
width: 1.9em;
|
||||
height: 1.9em;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 700px) {
|
||||
#navbar-toggler {
|
||||
display: block;
|
||||
}
|
||||
|
||||
nav.menu-shown {
|
||||
position: fixed;
|
||||
z-index: 1;
|
||||
background: var(--nav-background);
|
||||
}
|
||||
|
||||
/* positioning for mobile */
|
||||
nav .nav-flex {
|
||||
display: block;
|
||||
max-width: 100%;
|
||||
|
||||
.nav-mobile {
|
||||
display: flex;
|
||||
width: 100%;
|
||||
|
||||
.navbar-brand {
|
||||
flex: auto;
|
||||
}
|
||||
}
|
||||
|
||||
.navbar-menu {
|
||||
height: 100vh;
|
||||
width: 100% !important;
|
||||
display: none !important;
|
||||
background: var(--nav-background);
|
||||
|
||||
&.shown {
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
.navbar-list {
|
||||
display: block !important;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
padding-left: 0;
|
||||
|
||||
li {
|
||||
width: 100% !important;
|
||||
display: flex;
|
||||
|
||||
a[role=button] {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.menu-with-sub {
|
||||
display: block;
|
||||
|
||||
.sub-menu {
|
||||
margin-left: 1em;
|
||||
display: ruby;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* removing white text from menu with light background */
|
||||
nav.menu-shown.text-white li a[role=button], nav.menu-shown .text-white li a[role=button], nav.menu-shown a[role=button].text-white {
|
||||
color: black;
|
||||
}
|
||||
|
||||
nav.menu-shown.text-white .icon-monochrome {
|
||||
filter: unset;
|
||||
}
|
||||
|
||||
nav.menu-shown.text-white .navbar-list li.background {
|
||||
background-color: var(--nav-background);
|
||||
}
|
||||
}
|
|
@ -0,0 +1,26 @@
|
|||
/**
|
||||
* Omegamma - Hugo theme for ad5001.eu and related websites.
|
||||
* Copyright (C) 2021 Ad5001
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
// Main spreadsheet including all common elements
|
||||
@import "blocks";
|
||||
@import "common";
|
||||
@import "font";
|
||||
@import "footer";
|
||||
@import "header";
|
||||
@import "sections";
|
||||
|
|
@ -0,0 +1,21 @@
|
|||
/**
|
||||
* Omegamma - Hugo theme for ad5001.eu and related websites.
|
||||
* Copyright (C) 2021 Ad5001
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
@import "components/sections/section1";
|
||||
@import "components/sections/header";
|
||||
@import "components/sections/skewed";
|
|
@ -0,0 +1 @@
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
{{ $data := index .Site.Data .Site.Language.Lang }}
|
||||
{{ $appdata := index $data.apps .Params.SectionHeader.AppIndex }}
|
||||
|
||||
<html>
|
||||
<html lang="{{ .Site.Language.Lang }}">
|
||||
{{- partial "head.html" . -}}
|
||||
<body>
|
||||
{{- partial "header.html" . -}}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<html lang="{{ .Site.Language.Lang }}">
|
||||
{{- partial "head.html" . -}}
|
||||
<body>
|
||||
{{- partial "header.html" . -}}
|
||||
|
|
|
@ -0,0 +1,92 @@
|
|||
{{ define "main" }}
|
||||
<section class="section-header">
|
||||
<div class="columns-container" style="display: flex" >
|
||||
<div class="column col1 text-center vertical-center">
|
||||
<br>
|
||||
<h1 class="flex flex-center fill-width larger"><img src="/img/icon.png" class="icon-twice-text" alt="Ad5001's icon"/>Ad5001</h1>
|
||||
{{ .Params.Description | markdownify }}
|
||||
<div class="grid flex-center">
|
||||
{{ range .Params.Links }}
|
||||
<div>
|
||||
<a href="{{ .URL | safeURL }}" role="button" class="primary" title="{{ .Title }}">
|
||||
<img src="/icons/{{ .Icon }}.svg" class="icon-as-text" alt="{{ .Icon }}">{{ .Title }}
|
||||
</a>
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
<br>
|
||||
<br>
|
||||
<br>
|
||||
<br>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<section style="" class="section-skewed">
|
||||
<h1 class="text-center">Software commitments</h1>
|
||||
<div class="columns-container padding-container-3" >
|
||||
<div class="column col3 vertical-center padding-container">
|
||||
<div class="card blue topleft2bottomright padding-container text-content">
|
||||
<h2 class="flex flex-center text-center">
|
||||
<img src="/icons/free.svg" class="icon-larger2-text icon-monochrome" alt="Free (as in freedom) icon"/>
|
||||
{{ .Params.Cards.FLOSS.Title }}
|
||||
</h2>
|
||||
<p>
|
||||
{{ .Params.Cards.FLOSS.Description | markdownify }}
|
||||
</p>
|
||||
<br>
|
||||
<div class="grid flex-center">
|
||||
{{ range .Params.Cards.FLOSS.Links }}
|
||||
<div>
|
||||
<a href="{{ .URL | safeURL }}" role="button" class="primary" title="{{ .Title }}">
|
||||
<img src="/icons/{{ .Icon }}.svg" class="icon-as-text" alt="{{ .Icon }}">{{ .Title }}
|
||||
</a>
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="column col3 vertical-center padding-container">
|
||||
<div class="card purple top2bottom padding-container text-content">
|
||||
<h2 class="flex flex-center text-center">
|
||||
<img src="/icons/privacy.svg" class="icon-larger2-text icon-monochrome" alt="Privacy icon"/>
|
||||
{{ .Params.Cards.Privacy.Title }}
|
||||
</h2>
|
||||
<p>
|
||||
{{ .Params.Cards.Privacy.Description | markdownify }}
|
||||
</p>
|
||||
<br>
|
||||
<div class="grid flex-center">
|
||||
{{ range .Params.Cards.Privacy.Links }}
|
||||
<div>
|
||||
<a href="{{ .URL | safeURL }}" role="button" class="primary" title="{{ .Title }}">
|
||||
<img src="/icons/{{ .Icon }}.svg" class="icon-as-text" alt="{{ .Icon }}">{{ .Title }}
|
||||
</a>
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="column col3 vertical-center padding-container">
|
||||
<div class="card yellow topright2bottomleft padding-container text-content">
|
||||
<h2 class="flex flex-center text-center">
|
||||
<img src="/icons/platforms.svg" class="icon-larger2-text icon-monochrome" alt="Privacy icon"/>
|
||||
{{ .Params.Cards.Platforms.Title }}
|
||||
</h2>
|
||||
<p>
|
||||
{{ .Params.Cards.Platforms.Description | markdownify }}
|
||||
</p>
|
||||
<br>
|
||||
<div class="grid flex-center">
|
||||
{{ range .Params.Cards.Platforms.Links }}
|
||||
<div>
|
||||
<a href="{{ .URL | safeURL }}" role="button" class="primary" title="{{ .Title }}">
|
||||
<img src="/icons/{{ .Icon }}.svg" class="icon-as-text" alt="{{ .Icon }}">{{ .Title }}
|
||||
</a>
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
{{ end }}
|
|
@ -1,9 +1,7 @@
|
|||
<footer>
|
||||
<br><br>
|
||||
<div class="columns-container">
|
||||
<div class="col3 footer-social-list">
|
||||
|
||||
|
||||
<div class="col3 footer-social-list grid padding-container-3">
|
||||
{{ range .Site.Menus.social }}
|
||||
<a role="button" alt="{{ .Name }}" title="{{ .Name }}" href={{ .URL }}>
|
||||
{{ .Pre }}
|
||||
|
@ -13,7 +11,7 @@
|
|||
<div class="text-center col3">
|
||||
{{ .Site.Copyright }}
|
||||
</div>
|
||||
<div class="col3 text-right">
|
||||
<div class="col3 text-right padding-container-3">
|
||||
{{ .Site.Params.usingTheme }} <a href="/omegamma">Omegamma</a><br>
|
||||
{{ .Site.Params.poweredBy }} <a href="https://gohugo.io">Hugo</a>
|
||||
</div>
|
||||
|
|
|
@ -1,19 +1,19 @@
|
|||
<head>
|
||||
<title>{{ .Site.Title }} - {{ .Title }}</title>
|
||||
<link rel="stylesheet" href="/css/blocks.css">
|
||||
<link rel="stylesheet" href="/css/common.css">
|
||||
<link rel="stylesheet" href="/css/custom.css">
|
||||
<link rel="stylesheet" href="/css/header.css">
|
||||
<link rel="stylesheet" href="/css/footer.css">
|
||||
<link rel="stylesheet" href="/css/sections.css">
|
||||
<link rel="stylesheet" href="/css/font.css">
|
||||
{{ $mainstyle := resources.Get "/scss/main.scss" | toCSS | minify | fingerprint }}
|
||||
<link rel="stylesheet" href="{{ $mainstyle.Permalink }}">
|
||||
{{ if .Site.Params.includeAppsStyle }}
|
||||
{{ $appsstyle := resources.Get "/scss/apps.scss" | toCSS | minify | fingerprint }}
|
||||
<link rel="stylesheet" href="{{ $appsstyle.Permalink }}">
|
||||
{{ end }}
|
||||
<link rel="icon" href="/img/icon.png">
|
||||
{{ hugo.Generator }}
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="description" content="{{ .Page.Description }}">
|
||||
{{ if .IsTranslated }}
|
||||
{{ range .Translations }}
|
||||
<link rel="alternate" hreflang="{{ .Language.Lang }}" href="{{ .Permalink }}" title="{{ .Language.LanguageName }}">
|
||||
{{ end }}
|
||||
{{ range .Translations }}
|
||||
<link rel="alternate" hreflang="{{ .Language.Lang }}" href="{{ .Permalink }}" title="{{ .Language.LanguageName }}">
|
||||
{{ end }}
|
||||
<script src="/js/header.js"></script>
|
||||
{{ end }}
|
||||
<script src="/js/header.js" async></script>
|
||||
</head>
|
||||
|
|
|
@ -2,14 +2,14 @@
|
|||
<nav class="{{ if $white }}text-white{{ end }}">
|
||||
<div class="center nav-flex">
|
||||
{{ $currentPage := . }}
|
||||
<div class="nav-mobile ">
|
||||
<div class="nav-mobile">
|
||||
<a class="navbar-brand" href="{{ .Site.Params.brandWebsite }}" role="button">
|
||||
<img src="/img/icon.png" class="icon-brand" alt=""/>
|
||||
<img src="/img/icon.png" class="icon-brand" alt="Ad5001's icon"/>
|
||||
Ad5001
|
||||
</a>
|
||||
|
||||
<button id="navbar-toggler">
|
||||
<img src="/icons/menu.svg" class="icon-monochrome"/>
|
||||
<img src="/icons/menu.svg" class="icon-monochrome" alt="Menu icon"/>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
|
@ -17,52 +17,50 @@
|
|||
<ul class="navbar-list">
|
||||
{{ range .Site.Menus.main.ByWeight }}
|
||||
{{ if .HasChildren }}
|
||||
<div class="menu-with-sub">
|
||||
<a href="#" role="button">
|
||||
<li class="{{ if $currentPage.HasMenuCurrent "main" . }}active{{ end }}">
|
||||
<li class="menu-with-sub">
|
||||
<li class="{{ if $currentPage.HasMenuCurrent "main" . }}active{{ end }}">
|
||||
<a href="#" role="button">
|
||||
{{ .Pre }}
|
||||
<span>{{ .Name }}</span>
|
||||
</li>
|
||||
</a>
|
||||
</a>
|
||||
</li>
|
||||
<ul class="sub-menu">
|
||||
{{ range .Children }}
|
||||
<a href="{{ .URL }}" role="button">
|
||||
<li class="{{ if $currentPage.IsMenuCurrent "main" . }}active{{ end }} background">
|
||||
<li class="{{ if $currentPage.IsMenuCurrent "main" . }}active{{ end }} background">
|
||||
<a href="{{ .URL }}" role="button">
|
||||
{{ .Name }}
|
||||
</li>
|
||||
</a>
|
||||
</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</div>
|
||||
</li>
|
||||
{{ else }}
|
||||
<a href="{{ .URL }}" role="button">
|
||||
<li class="{{ if $currentPage.IsMenuCurrent "main" . }}active{{ end }}">
|
||||
<li class="{{ if $currentPage.IsMenuCurrent "main" . }}active{{ end }}">
|
||||
<a href="{{ .URL }}" role="button">
|
||||
{{ .Pre }}
|
||||
<span>{{ .Name }}</span>
|
||||
</li>
|
||||
</a>
|
||||
</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ $currentLang := .Site.Language }}
|
||||
{{ if .IsTranslated }}
|
||||
<div class="menu-with-sub">
|
||||
<li class="menu-with-sub">
|
||||
<a href="#" role="button">
|
||||
<li>
|
||||
<img src="/icons/lang.svg" class="icon-as-text icon-monochrome"/>
|
||||
<span>{{ i18n "language" }}</span>
|
||||
</li>
|
||||
<img src="/icons/lang.svg" class="icon-as-text icon-monochrome" alt="{{ i18n "language" }} language flag"/>
|
||||
<span>{{ i18n "language" }}</span>
|
||||
</a>
|
||||
<ul class="sub-menu center">
|
||||
{{ range .Translations }}
|
||||
<a href="{{ .Permalink }}" role="button">
|
||||
<li class="background">
|
||||
<li class="background">
|
||||
<a href="{{ .Permalink }}" role="button">
|
||||
<img src="/icons/flag/{{ .Language.Lang }}.svg" class="icon-as-text"/>
|
||||
{{ .Language.LanguageName }}
|
||||
</li>
|
||||
</a>
|
||||
</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</div>
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</div>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
{{ with .Data }}
|
||||
<section style="background: {{ .Background | safeCSS }};" class="section-header">
|
||||
<div class="columns-container">
|
||||
<div class="column col3 text-right vertical-center {{ if .TextWhite }}text-white{{ end }}">
|
||||
<div class="column col3 center text-right vertical-center {{ if .TextWhite }}text-white{{ end }}">
|
||||
<br>
|
||||
<h1 class="flex flex-right"> <img src="/icons/apps/{{ .AppIndex | safeHTML }}.png" class="icon-larger-text" alt=""/>{{ $appdata.name | safeHTML }}</h1>
|
||||
<h2>{{ $appdata.description | safeHTML }}</h2>
|
||||
|
@ -24,8 +24,8 @@
|
|||
</div>
|
||||
<br>
|
||||
</div>
|
||||
<div class="column col2-3 flex">
|
||||
<img class="vertical-center-img" src="/img/full/{{ .AppIndex }}.png"/>
|
||||
<div class="column col2-3 center flex">
|
||||
<img class="vertical-center-img" alt="{{ $appdata.name | safeHTML }} preview" src="/img/full/{{ .AppIndex }}.png"/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="section-end-triangle"></div>
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
|
|
@ -1,43 +0,0 @@
|
|||
|
||||
.block-preview {
|
||||
/*border: black 1px solid;*/
|
||||
box-shadow: 0px 0px 2px 0px #000000;
|
||||
width: min(25em, calc(100vw - 2em));
|
||||
height: 20em;
|
||||
background-size: cover;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
.block-preview:hover, .block-preview.toggled {
|
||||
box-shadow: 0px 0px 4px 0px #000000;
|
||||
}
|
||||
|
||||
.block-preview .label {
|
||||
transition: max-height 0.15s ease-in;
|
||||
max-height: 20%;
|
||||
overflow: hidden;
|
||||
bottom: 0;
|
||||
background-color: #FFFFFFDD;
|
||||
padding: 0.5em;
|
||||
bottom: 0;
|
||||
}
|
||||
|
||||
.block-preview:hover .label, .block-preview.toggled .label {
|
||||
max-height: 100%;
|
||||
height: calc(100% - 1em);
|
||||
}
|
||||
|
||||
.block-preview .label .show-on-hover {
|
||||
display: none;
|
||||
transition: opacity 0.15s;
|
||||
opacity: 0;
|
||||
max-height: 0;
|
||||
background: none;
|
||||
}
|
||||
|
||||
.block-preview:hover .label .show-on-hover, .block-preview.toggled .label .show-on-hover {
|
||||
display: block;
|
||||
opacity: 1;
|
||||
max-height: 100%;
|
||||
}
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
|
||||
|
|
@ -1,15 +0,0 @@
|
|||
@font-face {
|
||||
font-family: "Metropolis";
|
||||
src: url(/fonts/metropolis/Metropolis-Regular.otf) format("opentype");
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Metropolis";
|
||||