forked from tykayn/funky-framadate-front
improve global display
This commit is contained in:
parent
c47e00a824
commit
74285393d8
@ -9,3 +9,7 @@ header {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
i {
|
||||||
|
display: block;
|
||||||
|
}
|
@ -1,10 +1,27 @@
|
|||||||
@charset "UTF-8";
|
@charset "UTF-8";
|
||||||
|
|
||||||
nav {
|
nav {
|
||||||
|
text-align: center;
|
||||||
|
margin-bottom: 3.2rem;
|
||||||
|
padding-top: 1.6rem;
|
||||||
|
padding-bottom: 1.6rem;
|
||||||
|
border-top: 2px solid #ffd52c;
|
||||||
|
border-bottom: 2px solid #ffd52c;
|
||||||
|
|
||||||
a {
|
a {
|
||||||
&::before,
|
&::before {
|
||||||
|
display: inline-block;
|
||||||
|
position: relative;
|
||||||
|
width: auto;
|
||||||
|
background: none;
|
||||||
|
}
|
||||||
&::after {
|
&::after {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&:not(:first-of-type)::before {
|
||||||
|
content: ' | ';
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
margin-bottom: 3rem;
|
||||||
|
|
||||||
&::after {
|
&::after {
|
||||||
content: "";
|
content: "";
|
||||||
|
@ -1,13 +1,9 @@
|
|||||||
@charset "UTF-8";
|
@charset "UTF-8";
|
||||||
|
|
||||||
|
main {
|
||||||
html {
|
|
||||||
font-size: 62.5%; /* 10px */
|
|
||||||
font-size: calc(1em * 0.625); /* fix */
|
|
||||||
}
|
|
||||||
|
|
||||||
app-root {
|
|
||||||
max-width: 500px; // to look like the styleguide, to remove when we will have full width views
|
max-width: 500px; // to look like the styleguide, to remove when we will have full width views
|
||||||
|
width: 100%;
|
||||||
display: block;
|
display: block;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
|
padding: 0 1.2rem;
|
||||||
}
|
}
|
7
src/assets/scss/atoms/_section.scss
Normal file
7
src/assets/scss/atoms/_section.scss
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
@charset "UTF-8";
|
||||||
|
|
||||||
|
section {
|
||||||
|
& + & {
|
||||||
|
margin-top: 6rem;
|
||||||
|
}
|
||||||
|
}
|
6
src/assets/scss/default.scss
Normal file
6
src/assets/scss/default.scss
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
@charset "UTF-8";
|
||||||
|
|
||||||
|
html {
|
||||||
|
font-size: 62.5%; /* 10px */
|
||||||
|
font-size: calc(1em * 0.625); /* fix */
|
||||||
|
}
|
@ -1,7 +1,9 @@
|
|||||||
/* You can add global styles to this file, and also import other style files */
|
/* You can add global styles to this file, and also import other style files */
|
||||||
@import "assets/scss/variables";
|
@import "assets/scss/variables";
|
||||||
@import "assets/scss/global_layout";
|
@import "assets/scss/default";
|
||||||
|
|
||||||
|
@import "assets/scss/atoms/main";
|
||||||
|
@import "assets/scss/atoms/section";
|
||||||
@import "assets/scss/atoms/fonts";
|
@import "assets/scss/atoms/fonts";
|
||||||
@import "assets/scss/atoms/headings";
|
@import "assets/scss/atoms/headings";
|
||||||
@import "assets/scss/atoms/buttons";
|
@import "assets/scss/atoms/buttons";
|
||||||
|
Loading…
Reference in New Issue
Block a user