www_projectmycelium_io/poc/static/ourworld.css

188 lines
4.9 KiB
CSS
Raw Normal View History

2024-11-08 15:31:50 +00:00
/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Roboto:wght@300;400;500;700&display=swap');
:root {
/* Light theme variables */
--body-background-light: #ffffff;
--body-text-light: #333333;
--text-color-light: #333;
--hover-color-light: #666;
--modal-background-light: #f5f5f5;
--modal-text-light: #333;
--input-border-light: #ddd;
--hero-background-light: #FFFFFFF2;
--hero-background2-light: #FFFFFFFB;
--hero-text-light: #333;
--hero-banner-background-light: #0000000D;
--hero-subtitle-background-light: #385bb5;
--hero-subtitle-text-light: white;
--input-border-light: var(--hero-background2-light);
/* Dark theme variables */
--body-background-dark: #1a1a1a;
--body-text-dark: #ffffff;
--text-color-dark: #fff;
--hover-color-dark: #aaa;
--modal-background-dark: #282c34;
--modal-text-dark: #fff;
--input-border-dark: #444;
--hero-background-dark: #282C34F2;
--hero-background2-dark: #2D3139FA;
--hero-text-dark: white;
--hero-banner-background-dark: #FFFFFF26;
--hero-subtitle-background-dark: #385bb5;
--hero-subtitle-text-dark: white;
--input-border-dark: var(--hero-background2-dark);
/* Default to dark theme */
--body-background: var(--body-background-dark);
--body-text: var(--body-text-dark);
--text-color: var(--text-color-dark);
--hover-color: var(--hover-color-dark);
--modal-background: var(--modal-background-dark);
--modal-text: var(--modal-text-dark);
--input-border: var(--input-border-dark);
--hero-background: var(--hero-background-dark);
--hero-background2: var(--hero-background2-dark);
--hero-text: var(--hero-text-dark);
--hero-banner-background: var(--hero-banner-background-dark);
--hero-subtitle-background: var(--hero-subtitle-background-dark);
--hero-subtitle-text: var(--hero-subtitle-text-dark);
--input-border: var(--input-border-dark);
}
/* Light theme class */
.light-theme {
--body-background: var(--body-background-light);
--body-text: var(--body-text-light);
--text-color: var(--text-color-light);
--hover-color: var(--hover-color-light);
--modal-background: var(--modal-background-light);
--modal-text: var(--modal-text-light);
--input-border: var(--input-border-light);
--hero-background: var(--hero-background-light);
--hero-background2: var(--hero-background2-light);
--hero-text: var(--hero-text-light);
--hero-banner-background: var(--hero-banner-background-light);
--hero-subtitle-background: var(--hero-subtitle-background-light);
--hero-subtitle-text: var(--hero-subtitle-text-light);
--input-border: var(--input-border-light);
}
/* Heading styles - using Poppins */
h1 {
font-family: 'Poppins', sans-serif;
font-size: 1.2rem;
margin-bottom: 1rem;
font-weight: 700;
letter-spacing: -0.03em;
line-height: 1.1;
text-transform: uppercase;
}
h2 {
font-family: 'Poppins', sans-serif;
font-size: 1.1rem;
margin-bottom: 1rem;
font-weight: 600;
letter-spacing: -0.02em;
line-height: 1.2;
}
h3 {
font-family: 'Poppins', sans-serif;
font-size: 1rem;
margin-bottom: 0.8rem;
font-weight: 600;
letter-spacing: -0.01em;
line-height: 1.3;
}
h4 {
font-family: 'Poppins', sans-serif;
font-size: 1rem;
margin-bottom: 0.8rem;
font-weight: 500;
letter-spacing: -0.005em;
line-height: 1.4;
}
p ul {
padding-left: 1.5em;
margin: 1.25em 0;
}
p li {
line-height: 1.6;
margin-bottom: 0.75em;
}
/* Paragraph styles - using Roboto */
p {
font-family: 'Roboto', sans-serif;
font-size: 1rem;
line-height: 1.6;
margin-bottom: 1.5rem;
max-width: 720px;
font-weight: 400;
}
/* Optional: styling for small or additional text */
small {
font-family: 'Roboto', sans-serif;
font-size: 0.9rem;
font-weight: 400;
color: #666;
}
/* Additional styles for links within text */
a {
color: #007acc;
text-decoration: none;
font-weight: 500;
transition: color 0.2s ease;
}
a:hover {
text-decoration: underline;
}
/* Navigation styles - using Poppins */
nav {
font-family: 'Poppins', sans-serif;
}
nav a {
font-size: 1rem;
font-weight: 500;
letter-spacing: 0;
text-decoration: none;
color: var(--text-color);
transition: color 0.2s ease;
text-transform: uppercase;
}
nav a:hover {
color: var(--hover-color);
}
main {
background-color: var(--body-background);
transition: background-color 0.3s;
}
body {
font-family: 'Roboto', sans-serif;
background-color: var(--body-background);
color: var(--body-text);
min-height: 100vh;
display: flex;
flex-direction: column;
margin: 0;
padding: 0.25rem 0;
overflow-x: hidden;
transition: background-color 0.3s, color 0.3s;
font-size: 1rem;
line-height: 1.6;
}