vandoeuvre: theme 2021 (#54457)
gitea-wip/publik-base-theme/pipeline/head There was a failure building this commit
Details
gitea-wip/publik-base-theme/pipeline/head There was a failure building this commit
Details
This commit is contained in:
parent
4ab78c6c2c
commit
a72a28104a
|
@ -0,0 +1,191 @@
|
|||
#header-wrapper {
|
||||
background-image:
|
||||
linear-gradient(
|
||||
to top,
|
||||
$primary-color 160px,
|
||||
white 160px
|
||||
);
|
||||
@media ($min-desktop-viewport) {
|
||||
background-image:
|
||||
linear-gradient(
|
||||
to bottom,
|
||||
white 3rem,
|
||||
$primary-color 3rem
|
||||
);
|
||||
}
|
||||
|
||||
h1 {
|
||||
padding-left: 0;
|
||||
a {
|
||||
display: block;
|
||||
font-size: 2.857rem;
|
||||
line-height: 1.2;
|
||||
font-weight: bold;
|
||||
color: $font-color;
|
||||
|
||||
@media ($max-mobile-viewport) {
|
||||
font-size: 2rem;
|
||||
}
|
||||
|
||||
@media ($min-desktop-viewport) {
|
||||
padding-top: 1.2em;
|
||||
padding-bottom: 1.2em;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#top {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
background: url(img/header_transparent.png) no-repeat;
|
||||
|
||||
@media ($min-desktop-viewport) {
|
||||
background-size: 250px;
|
||||
background-position: center right;
|
||||
padding-right: 250px;
|
||||
}
|
||||
|
||||
@media ($max-mobile-viewport) {
|
||||
background-size: 205px;
|
||||
background-position: center bottom;
|
||||
padding-bottom: 205px;
|
||||
}
|
||||
}
|
||||
|
||||
#toplinks {
|
||||
// reset
|
||||
position: static;
|
||||
top: 0;
|
||||
left: 0;
|
||||
border: none;
|
||||
box-shadow: none;
|
||||
padding: 0;
|
||||
border-radius: 0;
|
||||
background: none;
|
||||
|
||||
order: -1;
|
||||
text-align: left;
|
||||
|
||||
|
||||
a {
|
||||
line-height: 3rem;
|
||||
color: $font-color;
|
||||
&:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
&:not(:first-child) {
|
||||
margin-left: .7em;
|
||||
}
|
||||
}
|
||||
|
||||
.sep {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
#nav-wrapper {
|
||||
border-top: solid 2px #000;
|
||||
background: $nav-background;
|
||||
margin-top: 0;
|
||||
ul {
|
||||
margin-top: 0;
|
||||
}
|
||||
}
|
||||
|
||||
#messages {
|
||||
li.warning, li.success, li.error, li.info {
|
||||
color: $font-color;
|
||||
}
|
||||
}
|
||||
|
||||
#footer-wrapper {
|
||||
border-top: solid 2px #CFCFCF;
|
||||
padding-bottom: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
#footer {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
#footer .menucell {
|
||||
width: 100vw;
|
||||
clear: both;
|
||||
text-align: left;
|
||||
border-top: solid 2px #000;
|
||||
background-color: $nav-background;
|
||||
margin-left: calc(-50vw + 50%);
|
||||
padding-left: calc(50vw - (#{$width / 2}));
|
||||
padding-right: calc(50vw - (#{$width / 2}));
|
||||
padding-top: 0.5em;
|
||||
padding-bottom: 0.5em;
|
||||
@media ($max-mobile-viewport) {
|
||||
padding-bottom: $back-top-icon-size + 1;
|
||||
}
|
||||
li a {
|
||||
color: white;
|
||||
padding: 0.75em 30px;
|
||||
}
|
||||
}
|
||||
|
||||
#footer .textcell {
|
||||
@media ($max-mobile-viewport) {
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
|
||||
.back-top {
|
||||
position: absolute;
|
||||
right: 0.7em;
|
||||
bottom: 1em;
|
||||
}
|
||||
|
||||
.back-top--link {
|
||||
color: white !important;
|
||||
}
|
||||
|
||||
.back-top--link-label {
|
||||
@extend .sr-only;
|
||||
}
|
||||
|
||||
.gru-content div.cell {
|
||||
box-shadow: 2px 2px #CFCFCF;
|
||||
}
|
||||
%button {
|
||||
box-shadow: none;
|
||||
&:hover, &:focus {
|
||||
border-color: #0049DB;
|
||||
}
|
||||
}
|
||||
|
||||
h1 {
|
||||
margin: 0.7em 1rem;
|
||||
}
|
||||
h2 {
|
||||
@extend h1;
|
||||
border-bottom: 1px solid $font-color;
|
||||
padding-bottom: 6px;
|
||||
font-weight: normal;
|
||||
}
|
||||
h3 {
|
||||
color: #0E8668;
|
||||
border-top: 1px solid currentColor;
|
||||
padding-top: 2px;
|
||||
@media ($min-desktop-viewport) {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
border-top: 0;
|
||||
padding-top: 0;
|
||||
&::after {
|
||||
content: "";
|
||||
height: 0;
|
||||
flex: 1 0 0;
|
||||
border-top: 1px solid currentColor;
|
||||
margin-left: .66em;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,40 @@
|
|||
$primary-color: #26D07C;
|
||||
|
||||
$font-color: #202020;
|
||||
$link-color: #0049DB;
|
||||
$font-family: 'Noto Sans';
|
||||
$title-color: #202020;
|
||||
$title-weight: bold;
|
||||
$title-border-bottom: 1px solid #CFCFCF;
|
||||
$title-background: #F3F3F3;
|
||||
$footer-background: $title-background;
|
||||
$footer-color: $font-color;
|
||||
$footer-link-color: $font-color;
|
||||
|
||||
$nav-background: #323232;
|
||||
$nav-full-width-background: true;
|
||||
$nav-color: #FFF;
|
||||
$nav-active-color: #000;
|
||||
|
||||
$notification_error_color: #FF6166;
|
||||
$notification_warning_color: #FFD100;
|
||||
$notification_success_color: #26D07C;
|
||||
$notification_info_color: #1F69FF;
|
||||
|
||||
$button-background: #FFF;
|
||||
$button-border: 1px solid currentColor;
|
||||
$button-hover-background: #1F69FF;
|
||||
$button-hover-color: #FFF;
|
||||
$button-border-radius: 20px;
|
||||
|
||||
$wcs-step-color: #545454;
|
||||
$wcs-step-current-color: $font-color;
|
||||
$wcs-step-current-background: $primary-color;
|
||||
$wcs-step-border-bottom: $title-border-bottom;
|
||||
$wcs-step-current-border-bottom: 1px solid $wcs-step-current-background;
|
||||
|
||||
$cell-title-cover-border: false;
|
||||
|
||||
$back-top-icon-size: 2em;
|
||||
$back-top-display: block;
|
||||
$back-top-icon-character: "\f0aa";
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"label": "Vandœuvre-les-Nancy (2021)",
|
||||
"variables": {
|
||||
"theme_color": "#26D07C"
|
||||
}
|
||||
}
|
Binary file not shown.
After Width: | Height: | Size: 158 KiB |
|
@ -0,0 +1,5 @@
|
|||
@charset "UTF-8";
|
||||
@import '../includes/fonts/notosans';
|
||||
@import 'vars';
|
||||
@import '../includes/publik';
|
||||
@import 'custom';
|
Loading…
Reference in New Issue