glam/frontend/src/App.css
kempersc 2761857b0d Add scripts for converting OWL/Turtle ontology to Mermaid and PlantUML diagrams
- Implemented `owl_to_mermaid.py` to convert OWL/Turtle files into Mermaid class diagrams.
- Implemented `owl_to_plantuml.py` to convert OWL/Turtle files into PlantUML class diagrams.
- Added two new PlantUML files for custodian multi-aspect diagrams.
2025-11-22 23:01:13 +01:00

186 lines
3.3 KiB
CSS

/**
* Global Application Styles
* Heritage Custodian Ontology Visualization
* Following Netwerk Digitaal Erfgoed (NDE) house style
*
* NDE Brand Colors:
* - Primary Blue: #0a3dfa
* - Dark Blue: #172a59 (primary text)
* - Orange Accent: #fa5200 (highlights)
* - Light Gray: #f6f6f6 (backgrounds)
*
* NDE Typography:
* - Headings: Poppins (400, 500, 600)
* - Body: Roboto (400, 500, 700)
*/
/* Import NDE fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&family=Roboto:wght@400;500;700&display=swap');
* {
box-sizing: border-box;
}
html {
height: 100%;
margin: 0;
padding: 0;
}
body {
height: 100%;
margin: 0;
padding: 0;
font-family: 'Roboto', Helvetica, Arial, sans-serif; /* NDE body font */
font-size: 1.6rem;
font-weight: 400;
line-height: 1.4em;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
background: #f6f6f6; /* NDE light background */
color: #172a59; /* NDE dark blue text */
}
#root {
height: 100%;
display: flex;
flex-direction: column;
}
code {
font-family: 'Courier New', Courier, monospace;
background: rgba(10, 61, 250, 0.05);
padding: 0.2em 0.4em;
border-radius: 3px;
font-size: 0.9em;
}
h1, h2, h3, h4, h5, h6 {
margin: 0;
font-family: 'Poppins', Helvetica, Arial, sans-serif; /* NDE heading font */
color: #172a59; /* NDE dark blue */
line-height: 1.3em;
}
h1 {
font-size: calc(1.25vw + 1.25vh + 1.25rem);
font-weight: 500;
}
h2 {
font-size: calc(0.85vw + 0.85vh + 0.85rem);
font-weight: 500;
}
h3 {
font-size: calc(0.65vw + 0.65vh + 0.65rem);
font-weight: 500;
}
h4 {
font-size: calc(0.55vw + 0.55vh + 0.55rem);
font-weight: 500;
}
p {
margin: 0;
color: #172a59;
font-size: calc(0.5vw + 0.5vh + 0.5rem);
line-height: 1.8em;
}
a {
color: #0a3dfa; /* NDE primary blue */
text-decoration: underline;
transition: color 0.2s ease-in-out;
}
a:hover {
color: #172a59; /* NDE dark blue */
}
strong {
font-weight: 500;
color: #172a59;
}
/* NDE Button Styles */
button {
font-family: 'Poppins', Helvetica, Arial, sans-serif;
font-size: calc(0.5vw + 0.5vh + 0.5rem);
font-weight: 400;
padding: 1rem 1.5rem;
border-radius: 4px;
border: none;
cursor: pointer;
transition: all 0.2s ease-in-out;
}
button.primary {
background-color: #0a3dfa; /* NDE primary blue */
color: white;
}
button.primary:hover {
background-color: #172a59; /* NDE dark blue */
}
button.secondary {
background-color: #f6f6f6;
color: #172a59;
}
button.secondary:hover {
background-color: #ebefff; /* Light blue */
}
button.accent {
background-color: #fa5200; /* NDE orange */
color: white;
}
button.accent:hover {
background-color: #0a3dfa; /* NDE blue */
}
/* Scrollbar Styling (WebKit browsers) with NDE colors */
::-webkit-scrollbar {
width: 8px;
height: 8px;
}
::-webkit-scrollbar-track {
background: #f6f6f6; /* NDE light gray */
}
::-webkit-scrollbar-thumb {
background: rgba(10, 61, 250, 0.3); /* Semi-transparent NDE blue */
border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
background: #0a3dfa; /* NDE primary blue */
}
/* Responsive Typography */
@media (max-width: 768px) {
body {
font-size: 1.6rem;
}
h1 {
font-size: 2.2rem;
}
h2 {
font-size: 1.8rem;
}
h3 {
font-size: 1.5rem;
}
p {
font-size: 1.6rem;
}
}