-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Leftnav fixes, dark mode improvements, hero banner (#71)
* Left Nav Improvements This should fix a visual issue when using some new types of nav elements * Dark mode cards improvements Also, this includes styles for the new Hero blocks * Added identation to a specific type of link * Hero block background updates The hero backgrounds has been replaced with SVG files. Also, the params has been changed, instead of using numbers, you can now use: * default * alternative * astra * dse * luna * Fix cards (box shadow) * Add Hero block instructions * Fix card shadow * Fix card text color * Remove toolbar and title when heroBlock * Fix heroBlock error in firefox * clean up repo --------- Co-authored-by: Kenni Martínez <57879404+KenniM@users.noreply.github.com> Co-authored-by: Francisco Suarez <3216883330506@ingenieria.usac.edu.gt> Co-authored-by: Eric Schneider <37347760+eric-schneider@users.noreply.github.com>
- Loading branch information
1 parent
e645270
commit 65d3f40
Showing
14 changed files
with
248 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
build/ | ||
gcx/build/ | ||
node_modules/ | ||
public/ | ||
|
||
.DS_store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
.dsHeroBlock, | ||
.dsHeroBlock[data-banner="default"] { | ||
background-image: url('../img/hero-banner-1.svg'); | ||
background-size: cover; | ||
color: white; | ||
font-family: 'Roboto', sans-serif; | ||
} | ||
|
||
.dsHeroBlock[data-banner="alternative"]{ | ||
background-image: url('../img/hero-banner-2.svg'); | ||
} | ||
|
||
.dsHeroBlock[data-banner="astra"]{ | ||
background-image: url('../img/hero-banner-3-Astra.svg'); | ||
} | ||
|
||
.dsHeroBlock[data-banner="dse"]{ | ||
background-image: url('../img/hero-banner-4-DSE.svg'); | ||
} | ||
|
||
.dsHeroBlock[data-banner="luna"]{ | ||
background-image: url('../img/hero-banner-5-Luna.svg'); | ||
} | ||
|
||
|
||
.toolbar:has(~ .content .dsHeroBlock), | ||
h1.page:has(~ #preamble .dsHeroBlock) { | ||
visibility: hidden; | ||
} | ||
|
||
.toolbar:has(~ .dsHeroBlock), | ||
.dsHeroBlock + .content h1.page { | ||
display: none; | ||
} | ||
|
||
.dsHeroContent { | ||
padding: 72px 60px; | ||
width: 50%; | ||
} | ||
|
||
.dsHeroTitle h1 { | ||
font-weight: 400; | ||
} | ||
|
||
@media screen and (max-width: 820px) { | ||
.dsHeroContent { | ||
width: 100%; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -59,7 +59,7 @@ | |
} | ||
|
||
.dark-mode .doc .sidebarblock>.content>.title{ | ||
color: var(--black); | ||
color: var(--white); | ||
} | ||
|
||
|
||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters