Styling navbar

This commit is contained in:
Alexandre Bourlier
2018-04-19 18:24:42 +02:00
parent 965e06f3aa
commit 4e6ec05fcc
14 changed files with 2883 additions and 36 deletions

8
src/scss/_fonts.scss Normal file
View File

@ -0,0 +1,8 @@
@font-face {
font-family: 'bebas';
src: url('../../src/fonts/bebas/bebas.eot'); /* IE9 Compat Modes */
src: url('../../src/fonts/bebas/bebas.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('../../src/fonts/bebas/bebas.woff') format('woff'), /* Pretty Modern Browsers */
url('../../src/fonts/bebas/bebas.ttf') format('truetype'), /* Safari, Android, iOS */
url('../../src/fonts/bebas/bebas.svg#svgFontName') format('svg'); /* Legacy iOS */
}

View File

@ -1,13 +1,23 @@
#navbarSupportedContent {
#menu-title {
font-family: bebas;
color: $hd-color;
font-size: 17px;
}
#navbar-router {
color: $twitter-color;
ldp-route {
color: white;
cursor: pointer;
}
ldp-route:hover {
text-decoration: underline;
}
ldp-route[active] {
font-weight: bold;
font-weight: bold;
border-bottom: 2px solid $hd-color;
color: $hd-color;
}
}

View File

@ -1,6 +1,4 @@
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
@ -8,13 +6,13 @@ html, body, #mainContainer {
height: 100%;
}
#mainContainer {
margin-top: $menu-height;
}
.page-title {
font-size: 2.5rem;
margin-bottom: 20px;
font-family: 'Righteous', cursive;
text-decoration-line: underline;
}
#ldp-root {
padding-right: 0;
}

4
src/scss/_variables.scss Normal file
View File

@ -0,0 +1,4 @@
$hd-color: rgb(253, 200, 21);
$twitter-color: #1DA1F2;
$menu-height : 100px;

View File

@ -1,3 +1,5 @@
@import "variables";
@import "fonts";
@import "styles";
@import "home";
@import "menu";