More actions
(Created page with "→CSS placed here will be applied to all skins: →Import Hanken Grotesk: @import url('https://fonts.googleapis.com/css2?family=Hanken+Grotesk:ital,wght@0,100..900;1,100..900&display=swap'); body { font-family: 'Hanken-Grotesk', sans-serif !important; font-weight: 400; }") |
No edit summary |
||
| Line 8: | Line 8: | ||
font-family: 'Hanken-Grotesk', sans-serif !important; | font-family: 'Hanken-Grotesk', sans-serif !important; | ||
font-weight: 400; | font-weight: 400; | ||
} | |||
/* CSS placed here will be applied to all skins 11.18.25 @ 6:30PM */ | |||
/*Import Hanken Grotesk */ | |||
@import url('https://fonts.googleapis.com/css2?family=Hanken+Grotesk:ital,wght@0,100..900;1,100..900&display=swap'); | |||
/* Hide the sitenotice on all pages by default */ | |||
#siteNotice { | |||
display: none; | |||
} | |||
/* Show the sitenotice only on the Main Page */ | |||
body.page-Main_Page #siteNotice { | |||
display: block; | |||
} | |||
body { | |||
font-family: 'Hanken-Grotesk', sans-serif !important; | |||
font-weight: 400; | |||
} | |||
/* Temporary debug - remove after fixing | |||
* { | |||
outline: 1px solid red !important; | |||
} | |||
*/ | |||
/* FULL-WIDTH HERO — */ | |||
.fda-hero { | |||
padding: 2rem 1rem; | |||
text-align: center; | |||
background-color:#DADADA; | |||
} | |||
.fda-hero-inner { | |||
margin: auto; | |||
padding: auto; | |||
text-align: center; | |||
box-sizing: border-box; | |||
} | |||
.mw-body { | |||
padding-left: 1rem; | |||
padding-right: 1rem; | |||
font-size: 1.1rem; | |||
line-height: 1.5; | |||
} | |||
@media (min-width: 1024px) { | |||
.mw-body { | |||
padding-left: 15rem; | |||
padding-right: 8rem; | |||
margin-left: 3rem; | |||
margin-right: 3rem; | |||
font-size: 1.7rem; | |||
line-height: 1.6; | |||
} | |||
.citizen-footer__siteinfo { | |||
margin-left: 17rem; | |||
} | |||
.fda-hero-inner { | |||
margin: 0 10rem; | |||
padding: 0 8rem; | |||
text-align: center; | |||
} | |||
.citizen-footer__bottom { | |||
padding: 0 0 0 17rem; | |||
} | |||
} | |||
@font-face { | |||
font-family: 'FH Lecturis'; | |||
src: local('FH Lecturis Rounded Bold'), local('FH-Lecturis-Rounded-Bold'), | |||
url('/mediawiki/resources/Fonts/FHLecturisRounded-Bold.woff2') format('woff2'), | |||
url('/mediawiki/resources/Fonts/FHLecturisRounded-Bold.woff') format('woff'), | |||
url('/mediawiki/resources/Fonts/FHLecturisRounded-Bold.ttf') format('truetype'); | |||
font-weight: 700; | |||
font-style: normal; | |||
font-display: swap; | |||
} | |||
/* Apply to h1 and h2*/ | |||
h1, h2 { | |||
font-family: 'FH Lecturis', sans-serif; | |||
font-weight: 700; | |||
color:var(--color-primary); | |||
} | |||
/* Hide the entire sidebar container */ | |||
body.page-Main_Page .citizen-page-sidebar { | |||
display: none !important; | |||
visibility: hidden !important; | |||
} | |||
/* Logo Row -------- Begin*/ | |||
.logo-row { | |||
display: flex; | |||
flex-direction: row; | |||
justify-content: left; | |||
align-items: left; | |||
gap: 2rem; | |||
flex-wrap: nowrap; | |||
overflow-x: auto; /* Add horizontal scroll if needed */ | |||
white-space: nowrap; /* Prevent line breaks */ | |||
} | |||
/* Hero Banner -------- Begin*/ | |||
.hero-banner { | |||
background-size: cover; | |||
background-position: center; | |||
background-repeat: no-repeat; | |||
position: relative; | |||
color: black; | |||
text-align: left; | |||
border-radius: 25px 25px 0px 0px; | |||
} | |||
.hero-content h1 { | |||
font-size: 4.55rem; | |||
margin: 0 0 1rem 0; | |||
font-weight: 900; | |||
border-bottom: none; | |||
} | |||
.hero-subtitle { | |||
font-size: 1.5em; | |||
margin: 0 0 2.5rem 0; | |||
line-height: 1.5; | |||
color: #878787; | |||
font-weight: 900; | |||
} | |||
/* Hero Banner -------- END*/ | |||
/* Cards Styling -------- Begin*/ | |||
.category-card { | |||
background: var(--color-surface-1); | |||
border: 1px solid var(--color-border); | |||
color: var(--color-base); | |||
padding: 1rem; | |||
} | |||
.category-card:hover { | |||
border-color: var(--color-primary--hover); | |||
background: var(--color-surface-2); | |||
} | |||
.category-card-grid { | |||
display: grid; | |||
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); | |||
gap: 1rem; | |||
//margin: 2rem 0; | |||
padding: 2rem 2rem 2rem 0rem; | |||
} | |||
.card-title { | |||
font-size: 1.3em; | |||
font-weight: 600; | |||
margin-bottom: 0.5rem; | |||
color: var(--color-base--emphasized, #000); | |||
} | |||
.card-description { | |||
color: var(--color-base--subtle, #54595d); | |||
font-size: 0.9em; | |||
line-height: 1.4; | |||
margin: 0; | |||
} | |||
.card-link { | |||
position: absolute; | |||
top: 0; | |||
left: 0; | |||
right: 0; | |||
bottom: 0; | |||
z-index: 1; | |||
text-decoration: none; | |||
} | |||
/* Cards Styling -------- END*/ | |||
/* Hero Search_V03-------- BEGIN */ | |||
.hero-search-trigger { | |||
margin: 2rem auto; | |||
max-width: 16rem; | |||
cursor: pointer; | |||
background: var(--color-surface-1); | |||
border-color: var(--color-border); | |||
color: var(--color-base); | |||
text-align: center; | |||
font-family: 'Satoshi', sans-serif; | |||
font-size: 1.1em; | |||
font-weight: 600; | |||
transition: all 0.3s ease; | |||
} | |||
.hero-search-trigger:hover { | |||
border-color: var(--color-primary--hover); | |||
background: var(--color-surface-2); | |||
} | |||
/* Hero Search_V03-------- END*/ | |||
/* ===== Friction Design Archive Color Theme ===== */ | |||
:root { | |||
/* Primary Colors */ | |||
--color-primary: #2323FF; /* Blue - Main brand color */ | |||
--color-primary--hover: #0000EE; /* Blue - Hover states */ | |||
--color-primary--active: #000000; /* Black - Active states */ | |||
/* Accent Colors */ | |||
--color-accent: #0099FF; /* Light blue - Buttons, highlights */ | |||
--color-accent--hover: #0000EE; /* Blue - Button hover */ | |||
--color-success: #5D2DE6; /* Violet - Success states */ | |||
/* Surface Colors */ | |||
--color-surface-0: #F7F7F7; /* Light gray - Main background */ | |||
--color-surface-1: #FFFFFF; /* White - Cards, content areas */ | |||
--color-surface-2: #dedede; /* dark gray backgrounds */ | |||
/* Text Colors */ | |||
--color-base: #000000; /* Black - Main text */ | |||
--color-base--emphasized: #000000; /* Black - Headers, important text */ | |||
--color-base--subtle: #B5B5B5; /* Gray - Secondary text, metadata */ | |||
/* Border Colors */ | |||
--color-border: #B5B5B5; /* Gray - Borders, dividers */ | |||
--color-border--lighter: #F7F7F7; /* Light gray - Subtle borders */ | |||
--width-layout: 400px; /* Good balance - reduces width but still comfortable */ | |||
} | |||
/* ===== Apply Theme to Citizen Skin ===== */ | |||
/* Main background */ | |||
.citizen-body { | |||
background-color: var(--color-surface-0); | |||
color: var(--color-base); | |||
} | |||
/* Header */ | |||
.citizen-header { | |||
background: var(--color-surface-1); | |||
border-bottom: 1px solid var(--color-border); | |||
} | |||
/* Links */ | |||
a { | |||
color: var(--color-primary); | |||
} | |||
a:hover { | |||
color: var(--color-primary--hover); | |||
} | |||
/* Buttons */ | |||
.citizen-button--primary { | |||
background: var(--color-accent); | |||
color: white; | |||
border: none; | |||
} | |||
.citizen-button--primary:hover { | |||
background: var(--color-accent--hover); | |||
} | |||
/* ----------------TEST ZOONE ---------------- */ | |||
.fda-hero { | |||
text-align: center; | |||
padding: 3rem 1rem; | |||
} | |||
/* | |||
.fda-hero-subtitle { | |||
max-width: 700px; | |||
margin: 0 auto; | |||
color: #555; | |||
font-size: 1.1rem; | |||
} | |||
*/ | |||
.fda-hero-button { | |||
padding: 0.75rem 1.5rem; | |||
display: inline-block; | |||
font-family: 'FH Lecturis'; | |||
background-color: #2323ff; | |||
color: #f7f7f7; | |||
} | |||
.fda-intro-grid { | |||
display: grid; | |||
grid-template-columns: 1fr 1fr; | |||
gap: 2rem; | |||
padding: 2rem 0; | |||
} | |||
.fda-section-title { | |||
font-size: 1.6rem; | |||
font-weight: 600; | |||
margin-top: 2rem; | |||
} | |||
.fda-card-grid { | |||
display: grid; | |||
gap: 1rem; | |||
grid-template-columns: repeat(4, 1fr); | |||
margin-top: 1rem; | |||
} | |||
.fda-methodology-grid { | |||
display: grid; | |||
grid-template-columns: 1fr 1fr; | |||
gap: 1.5rem; | |||
margin-top: 1rem; | |||
} | |||
.fda-def-grid { | |||
display: grid; | |||
grid-template-columns: repeat(4, 1fr); | |||
gap: 2rem; | |||
margin-top: 3rem; | |||
} | |||
.fda-def-item h3 { | |||
margin-bottom: .3rem; | |||
} | |||
.fda-link { | |||
margin-top: .5rem; | |||
font-weight: 600; | |||
} | } | ||
Revision as of 16:31, 21 November 2025
/* CSS placed here will be applied to all skins */
/*Import Hanken Grotesk */
@import url('https://fonts.googleapis.com/css2?family=Hanken+Grotesk:ital,wght@0,100..900;1,100..900&display=swap');
body {
font-family: 'Hanken-Grotesk', sans-serif !important;
font-weight: 400;
}
/* CSS placed here will be applied to all skins 11.18.25 @ 6:30PM */
/*Import Hanken Grotesk */
@import url('https://fonts.googleapis.com/css2?family=Hanken+Grotesk:ital,wght@0,100..900;1,100..900&display=swap');
/* Hide the sitenotice on all pages by default */
#siteNotice {
display: none;
}
/* Show the sitenotice only on the Main Page */
body.page-Main_Page #siteNotice {
display: block;
}
body {
font-family: 'Hanken-Grotesk', sans-serif !important;
font-weight: 400;
}
/* Temporary debug - remove after fixing
* {
outline: 1px solid red !important;
}
*/
/* FULL-WIDTH HERO — */
.fda-hero {
padding: 2rem 1rem;
text-align: center;
background-color:#DADADA;
}
.fda-hero-inner {
margin: auto;
padding: auto;
text-align: center;
box-sizing: border-box;
}
.mw-body {
padding-left: 1rem;
padding-right: 1rem;
font-size: 1.1rem;
line-height: 1.5;
}
@media (min-width: 1024px) {
.mw-body {
padding-left: 15rem;
padding-right: 8rem;
margin-left: 3rem;
margin-right: 3rem;
font-size: 1.7rem;
line-height: 1.6;
}
.citizen-footer__siteinfo {
margin-left: 17rem;
}
.fda-hero-inner {
margin: 0 10rem;
padding: 0 8rem;
text-align: center;
}
.citizen-footer__bottom {
padding: 0 0 0 17rem;
}
}
@font-face {
font-family: 'FH Lecturis';
src: local('FH Lecturis Rounded Bold'), local('FH-Lecturis-Rounded-Bold'),
url('/mediawiki/resources/Fonts/FHLecturisRounded-Bold.woff2') format('woff2'),
url('/mediawiki/resources/Fonts/FHLecturisRounded-Bold.woff') format('woff'),
url('/mediawiki/resources/Fonts/FHLecturisRounded-Bold.ttf') format('truetype');
font-weight: 700;
font-style: normal;
font-display: swap;
}
/* Apply to h1 and h2*/
h1, h2 {
font-family: 'FH Lecturis', sans-serif;
font-weight: 700;
color:var(--color-primary);
}
/* Hide the entire sidebar container */
body.page-Main_Page .citizen-page-sidebar {
display: none !important;
visibility: hidden !important;
}
/* Logo Row -------- Begin*/
.logo-row {
display: flex;
flex-direction: row;
justify-content: left;
align-items: left;
gap: 2rem;
flex-wrap: nowrap;
overflow-x: auto; /* Add horizontal scroll if needed */
white-space: nowrap; /* Prevent line breaks */
}
/* Hero Banner -------- Begin*/
.hero-banner {
background-size: cover;
background-position: center;
background-repeat: no-repeat;
position: relative;
color: black;
text-align: left;
border-radius: 25px 25px 0px 0px;
}
.hero-content h1 {
font-size: 4.55rem;
margin: 0 0 1rem 0;
font-weight: 900;
border-bottom: none;
}
.hero-subtitle {
font-size: 1.5em;
margin: 0 0 2.5rem 0;
line-height: 1.5;
color: #878787;
font-weight: 900;
}
/* Hero Banner -------- END*/
/* Cards Styling -------- Begin*/
.category-card {
background: var(--color-surface-1);
border: 1px solid var(--color-border);
color: var(--color-base);
padding: 1rem;
}
.category-card:hover {
border-color: var(--color-primary--hover);
background: var(--color-surface-2);
}
.category-card-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 1rem;
//margin: 2rem 0;
padding: 2rem 2rem 2rem 0rem;
}
.card-title {
font-size: 1.3em;
font-weight: 600;
margin-bottom: 0.5rem;
color: var(--color-base--emphasized, #000);
}
.card-description {
color: var(--color-base--subtle, #54595d);
font-size: 0.9em;
line-height: 1.4;
margin: 0;
}
.card-link {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 1;
text-decoration: none;
}
/* Cards Styling -------- END*/
/* Hero Search_V03-------- BEGIN */
.hero-search-trigger {
margin: 2rem auto;
max-width: 16rem;
cursor: pointer;
background: var(--color-surface-1);
border-color: var(--color-border);
color: var(--color-base);
text-align: center;
font-family: 'Satoshi', sans-serif;
font-size: 1.1em;
font-weight: 600;
transition: all 0.3s ease;
}
.hero-search-trigger:hover {
border-color: var(--color-primary--hover);
background: var(--color-surface-2);
}
/* Hero Search_V03-------- END*/
/* ===== Friction Design Archive Color Theme ===== */
:root {
/* Primary Colors */
--color-primary: #2323FF; /* Blue - Main brand color */
--color-primary--hover: #0000EE; /* Blue - Hover states */
--color-primary--active: #000000; /* Black - Active states */
/* Accent Colors */
--color-accent: #0099FF; /* Light blue - Buttons, highlights */
--color-accent--hover: #0000EE; /* Blue - Button hover */
--color-success: #5D2DE6; /* Violet - Success states */
/* Surface Colors */
--color-surface-0: #F7F7F7; /* Light gray - Main background */
--color-surface-1: #FFFFFF; /* White - Cards, content areas */
--color-surface-2: #dedede; /* dark gray backgrounds */
/* Text Colors */
--color-base: #000000; /* Black - Main text */
--color-base--emphasized: #000000; /* Black - Headers, important text */
--color-base--subtle: #B5B5B5; /* Gray - Secondary text, metadata */
/* Border Colors */
--color-border: #B5B5B5; /* Gray - Borders, dividers */
--color-border--lighter: #F7F7F7; /* Light gray - Subtle borders */
--width-layout: 400px; /* Good balance - reduces width but still comfortable */
}
/* ===== Apply Theme to Citizen Skin ===== */
/* Main background */
.citizen-body {
background-color: var(--color-surface-0);
color: var(--color-base);
}
/* Header */
.citizen-header {
background: var(--color-surface-1);
border-bottom: 1px solid var(--color-border);
}
/* Links */
a {
color: var(--color-primary);
}
a:hover {
color: var(--color-primary--hover);
}
/* Buttons */
.citizen-button--primary {
background: var(--color-accent);
color: white;
border: none;
}
.citizen-button--primary:hover {
background: var(--color-accent--hover);
}
/* ----------------TEST ZOONE ---------------- */
.fda-hero {
text-align: center;
padding: 3rem 1rem;
}
/*
.fda-hero-subtitle {
max-width: 700px;
margin: 0 auto;
color: #555;
font-size: 1.1rem;
}
*/
.fda-hero-button {
padding: 0.75rem 1.5rem;
display: inline-block;
font-family: 'FH Lecturis';
background-color: #2323ff;
color: #f7f7f7;
}
.fda-intro-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 2rem;
padding: 2rem 0;
}
.fda-section-title {
font-size: 1.6rem;
font-weight: 600;
margin-top: 2rem;
}
.fda-card-grid {
display: grid;
gap: 1rem;
grid-template-columns: repeat(4, 1fr);
margin-top: 1rem;
}
.fda-methodology-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 1.5rem;
margin-top: 1rem;
}
.fda-def-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 2rem;
margin-top: 3rem;
}
.fda-def-item h3 {
margin-bottom: .3rem;
}
.fda-link {
margin-top: .5rem;
font-weight: 600;
}