removed styles from html and moved into scss

This commit is contained in:
jorge 2021-04-20 22:19:54 +02:00
parent a97699f01c
commit f3896393fd
2 changed files with 22 additions and 14 deletions

View File

@ -1,13 +1,21 @@
@include breakpoint(small){ @include breakpoint(small){
header { content{
min-height: 6rem; @include xy-grid-container();
.logo { header {
max-width: 10rem; @include xy-grid();
} @include xy-gutters(0);
slide { min-height: 6rem;
min-height: 10rem; main {
content { // @include xy-cell(1);
background-color: $primary-color; }
.site-name {
display: none;
}
.logo {
max-width: 10rem;
}
menu {
// @include xy-cell(11);
} }
} }
} }

View File

@ -13,16 +13,16 @@
{{!-- Pages you create in the src/pages/ folder are inserted here when the flattened page is created. --}} {{!-- Pages you create in the src/pages/ folder are inserted here when the flattened page is created. --}}
<content class="grid-container fluid"> <content class="fluid">
{{> header}} {{> header}}
<header class="grid-x grid-padding-x"> <header class="">
<main class="cell shrink"> <main class="">
<a href="#"> <a href="#">
<h1 class="site-name hide">arcHIVE</h1> <h1 class="site-name">arcHIVE</h1>
<img src="{{root}}assets/img/ARC-HIVE-logo.svg" class="logo"/> <img src="{{root}}assets/img/ARC-HIVE-logo.svg" class="logo"/>
</a> </a>
</main> </main>
<menu class=" cell auto align-right"> <menu class="">
<!-- Content --> <!-- Content -->
<ul class="menu"> <ul class="menu">
<li><a href="#">News</a></li> <li><a href="#">News</a></li>