Skip to content

Commit

Permalink
Fixed the feedback on issues #36, #29, #35, #32, #28
Browse files Browse the repository at this point in the history
  • Loading branch information
digitalrebelbv committed Mar 26, 2021
1 parent 95f7568 commit 7b23e14
Show file tree
Hide file tree
Showing 9 changed files with 260 additions and 287 deletions.
19 changes: 17 additions & 2 deletions assets/styles/modules/basicpage.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,35 @@

.node {
.field--name-body {
a {
a:not(.btn):not(.btn-default):not(.btn-link-blue-s) {
color: $blue;
}
}
}

.paragraph {
.field--name-field-body {
a {
a:not(.btn):not(.btn-default):not(.btn-link-blue-s) {
color: $blue;
}
}
}

// Sidebar
.sidebar {
.block {
display: flex;
flex-flow: column;
border: 1px solid rgba(5,45,77,.13);
}

nav {
ul.nav {
margin: 0;
}
}
}

// Search page
.path-search {
.search-form {
Expand Down
28 changes: 28 additions & 0 deletions assets/styles/modules/navbar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -543,6 +543,34 @@
@media (min-width: #{$screen-lg-desktop}) {
height: unset;
}

.navbar-toggle {
display: flex;
}
}

.block-we-megamenu {
.navbar-toggle {
display: none;
}
}

.we-mega-menu-col.span12 {
.nav {
@media (max-width: #{$screen-tablet}) {
padding: 0;

li {
a {
line-height: 1 !important;
}
}

.we-mega-menu-li:last-child>a.we-mega-menu-li {
border-bottom: none !important;
}
}
}
}

// Private secondary menu
Expand Down
30 changes: 30 additions & 0 deletions assets/styles/modules/resources.scss
Original file line number Diff line number Diff line change
Expand Up @@ -295,3 +295,33 @@
}
}
}

body.node--type-resource {
border-top: none;

&:hover,
&:focus {
border-top: none;

h2.node__title {
text-decoration: none;
}

.tag {
text-decoration: none;
}
}

.node.node--type-resource {
border-top: none;

&:hover,
&:focus {
border-top: none;

.tag {
text-decoration: underline;
}
}
}
}
54 changes: 2 additions & 52 deletions assets/styles/utility/typography.scss
Original file line number Diff line number Diff line change
@@ -1,58 +1,8 @@
/* TYPOGRAPHY */

/* Inter font from https://github.com/rsms/inter/releases */

@font-face {
font-family: 'Inter';
font-style: normal;
font-weight: 400;
font-display: swap;
src: url("../fonts/inter/Inter-Regular.woff2?v=3.15") format("woff2"),
url("../fonts/inter/Inter-Regular.woff?v=3.15") format("woff");
}
@font-face {
font-family: 'Inter';
font-style: italic;
font-weight: 400;
font-display: swap;
src: url("../fonts/inter/Inter-Italic.woff2?v=3.15") format("woff2"),
url("../fonts/inter/Inter-Italic.woff?v=3.15") format("woff");
}

@font-face {
font-family: 'Inter';
font-style: normal;
font-weight: 600;
font-display: swap;
src: url("../fonts/inter/Inter-SemiBold.woff2?v=3.15") format("woff2"),
url("../fonts/inter/Inter-SemiBold.woff?v=3.15") format("woff");
}
@font-face {
font-family: 'Inter';
font-style: italic;
font-weight: 600;
font-display: swap;
src: url("../fonts/inter/Inter-SemiBoldItalic.woff2?v=3.15") format("woff2"),
url("../fonts/inter/Inter-SemiBoldItalic.woff?v=3.15") format("woff");
}

@font-face {
font-family: 'Inter';
font-style: normal;
font-weight: 700;
font-display: swap;
src: url("../fonts/inter/Inter-Bold.woff2?v=3.15") format("woff2"),
url("../fonts/inter/Inter-Bold.woff?v=3.15") format("woff");
}
@font-face {
font-family: 'Inter';
font-style: italic;
font-weight: 700;
font-display: swap;
src: url("../fonts/inter/Inter-BoldItalic.woff2?v=3.15") format("woff2"),
url("../fonts/inter/Inter-BoldItalic.woff?v=3.15") format("woff");
}
/* Google Fonts */

@import url("https://fonts.googleapis.com/css?family=Inter:400,400italic,600,600italic,700,700italic");
// font families
$font-inter: 'Inter',
Arial,
Expand Down
Loading

0 comments on commit 7b23e14

Please sign in to comment.