Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
jennydaman committed Dec 10, 2024
1 parent 35eeab3 commit bda2262
Showing 5 changed files with 72 additions and 64 deletions.
47 changes: 29 additions & 18 deletions src/components/FnndscLogo/styles.module.css
Original file line number Diff line number Diff line change
@@ -1,34 +1,45 @@

@font-face {font-family: "DINNextW01-Light"; src: url("//db.onlinewebfonts.com/t/9ae5e19516bc6428f1327ff3311b2617.eot"); src: url("//db.onlinewebfonts.com/t/9ae5e19516bc6428f1327ff3311b2617.eot?#iefix") format("embedded-opentype"), url("//db.onlinewebfonts.com/t/9ae5e19516bc6428f1327ff3311b2617.woff2") format("woff2"), url("//db.onlinewebfonts.com/t/9ae5e19516bc6428f1327ff3311b2617.woff") format("woff"), url("//db.onlinewebfonts.com/t/9ae5e19516bc6428f1327ff3311b2617.ttf") format("truetype"), url("//db.onlinewebfonts.com/t/9ae5e19516bc6428f1327ff3311b2617.svg#DINNextW01-Light") format("svg"); }

@font-face {
font-family: "DINNextW01-Light";
src: url("//db.onlinewebfonts.com/t/9ae5e19516bc6428f1327ff3311b2617.eot");
src: url("//db.onlinewebfonts.com/t/9ae5e19516bc6428f1327ff3311b2617.eot?#iefix")
format("embedded-opentype"),
url("//db.onlinewebfonts.com/t/9ae5e19516bc6428f1327ff3311b2617.woff2")
format("woff2"),
url("//db.onlinewebfonts.com/t/9ae5e19516bc6428f1327ff3311b2617.woff")
format("woff"),
url("//db.onlinewebfonts.com/t/9ae5e19516bc6428f1327ff3311b2617.ttf")
format("truetype"),
url("//db.onlinewebfonts.com/t/9ae5e19516bc6428f1327ff3311b2617.svg#DINNextW01-Light")
format("svg");
}

.fnndscLogo {
color: #FFF;
min-width: 40em;
position: relative;
color: #fff;
min-width: 40em;
position: relative;

--fnndsc-logo-shift: 30px;
bottom: var(--fnndsc-logo-shift);
--fnndsc-logo-shift: 30px;
bottom: var(--fnndsc-logo-shift);
}

.fnndscLogo * {
font-family: "DINNextW01-Light" !important;
text-align: left;
font-family: "DINNextW01-Light" sans-serif !important;
text-align: left;
}

.fnndscLogo h5 {
font-size: 1.2em;
margin-bottom: -2px;
font-weight: 500;
font-size: 1.2em;
margin-bottom: -2px;
font-weight: 500;
}

.fnndscLogo img {
position: relative;
top: var(--fnndsc-logo-shift);
left: 75px;
width: 70px;
position: relative;
top: var(--fnndsc-logo-shift);
left: 75px;
width: 70px;
}

.fnndscLogo p {
font-size: 0.7em;
font-size: 0.7em;
}
32 changes: 15 additions & 17 deletions src/components/VideoJumbotron/styles.module.css
Original file line number Diff line number Diff line change
@@ -1,25 +1,23 @@


.jumboVideo {
position: absolute;
z-index: 0;
top: 50%;
left:50%;
min-width: 100%;
min-height: 100%;
transform: translate(-50%, -50%);
position: absolute;
z-index: 0;
top: 50%;
left: 50%;
min-width: 100%;
min-height: 100%;
transform: translate(-50%, -50%);
}

.jumboVideoShade {
position: absolute;
width: 100%;
height: 100%;
background-color: rgba(0,0,0,.33) !important;
transform: translate(-50%, -50%);
top: 50%;
left: 50%;
position: absolute;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.33) !important;
transform: translate(-50%, -50%);
top: 50%;
left: 50%;
}

.jumboContent {
z-index: 1;
z-index: 1;
}
40 changes: 18 additions & 22 deletions src/css/custom.css
Original file line number Diff line number Diff line change
@@ -4,70 +4,66 @@
* work well for content-centric websites.
*/

@import url('https://fonts.googleapis.com/css2?family=Overpass:wght@200;300;400;600;700&display=swap');

@import url("https://fonts.googleapis.com/css2?family=Overpass:wght@200;300;400;600;700&display=swap");

/* You can override the default Infima variables here. */

/* Blue theme from https://www.patternfly.org/design-foundations/colors#color-palette */
:root {
--ifm-color-primary: #0066CC;
--ifm-color-primary: #0066cc;
--ifm-color-primary-dark: #004080;
--ifm-color-primary-darker: #002952;
--ifm-color-primary-darkest: #001223;
--ifm-color-primary-light: #2B9AF3;
--ifm-color-primary-lighter: #73BCF7;
--ifm-color-primary-lightest: #BEE1F4;
--ifm-color-primary-light: #2b9af3;
--ifm-color-primary-lighter: #73bcf7;
--ifm-color-primary-lightest: #bee1f4;
--ifm-code-font-size: 95%;
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1);
}

/* For readability concerns, you should choose a lighter palette in dark mode. */
[data-theme='dark'] {
--ifm-color-primary: #2B9AF3;
--ifm-color-primary-dark: #0066CC;
[data-theme="dark"] {
--ifm-color-primary: #2b9af3;
--ifm-color-primary-dark: #0066cc;
--ifm-color-primary-darker: #004080;
--ifm-color-primary-darkest: #002952;
--ifm-color-primary-light: #73BCF7;
--ifm-color-primary-lighter: #BEE1F4;
--ifm-color-primary-lightest: #E7F1FA;
--ifm-color-primary-light: #73bcf7;
--ifm-color-primary-lighter: #bee1f4;
--ifm-color-primary-lightest: #e7f1fa;
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3);
}


h1,
h2,
h3,
h4,
h5,
h6 {
font-family: Overpass, -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
font-family: Overpass, -apple-system, system-ui, BlinkMacSystemFont,
"Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}



.container-of-same-height-cards .card {
height: 100%;
}

/* https://docusaurus.io/docs/markdown-features/assets#github-style-themed-images */
[data-theme='light'] img[src$='#gh-dark-mode-only'],
[data-theme='dark'] img[src$='#gh-light-mode-only'] {
[data-theme="light"] img[src$="#gh-dark-mode-only"],
[data-theme="dark"] img[src$="#gh-light-mode-only"] {
display: none;
}


/* Configuration of react-medium-image-zoom */

[data-theme='dark'] .dark-zoom [data-rmiz-modal-overlay="hidden"] {
[data-theme="dark"] .dark-zoom [data-rmiz-modal-overlay="hidden"] {
background-color: rgba(0, 0, 0, 0);
}
[data-theme='dark'] .dark-zoom [data-rmiz-modal-overlay="visible"] {
[data-theme="dark"] .dark-zoom [data-rmiz-modal-overlay="visible"] {
background-color: rgba(15, 15, 15, 1);
}

/* configuration of flexanalytics/plugin-image-zoom */

[data-theme='dark'] .medium-zoom-overlay {
[data-theme="dark"] .medium-zoom-overlay {
background-color: rgba(15, 15, 15, 1) !important;
}
5 changes: 2 additions & 3 deletions src/pages/fixme.css
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
/* Bad-ish hacks to make things work */


/* fix button--outline color on dark background for light theme */
.button.button--outline.fix-on-dark-bg:not(:hover) {
color: white !important;
color: white !important;
}

.button.button--outline.fix-on-dark-bg:hover {
color: black !important;
color: black !important;
}
12 changes: 8 additions & 4 deletions src/pages/index.module.css
Original file line number Diff line number Diff line change
@@ -10,7 +10,12 @@
color: white;
}

h1, h2, h3, h4, h5, h6 {
h1,
h2,
h3,
h4,
h5,
h6 {
font-weight: 300;
}

@@ -26,7 +31,6 @@ h1, h2, h3, h4, h5, h6 {
font-weight: 3000;
}


.jumbotron {
margin: 3rem 0;
}
@@ -36,7 +40,7 @@ h1, h2, h3, h4, h5, h6 {
background: #4185ca;
}

[data-theme='dark'] .blueBackground {
[data-theme="dark"] .blueBackground {
background: #275584;
}

@@ -45,7 +49,7 @@ h1, h2, h3, h4, h5, h6 {
background: #275584;
}

[data-theme='dark'] .darkBlueBackground {
[data-theme="dark"] .darkBlueBackground {
background: #1f4265;
}

0 comments on commit bda2262

Please sign in to comment.