mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-16 06:38:03 +08:00
- Reduces the default width from 1600px to 1200px of the web page and reduce the size of various elements and text. This fixes the problem that I designed the website assuming everyone is viewing from the same 2560px wide screen as I used to design it, which is a bad assumption. Most websites are around the 1200px mark. - Removes the use of the EB Garamond font, replacing more headers with a bold Inter instead, leaving only Bona Nova for h1 headers at the tops of pages (except the home page, which might have further revamp soon). - Adds nice flavor graphics to a redesigned volunteer page. - Cleans up and organizes the Zola templating code and CSS style sheets. - Improves image carousel to fade out images when dragged past the start or end.
62 lines
850 B
SCSS
62 lines
850 B
SCSS
.logo-view {
|
|
display: flex;
|
|
margin: 0 auto;
|
|
|
|
&.logo-view.logo-view {
|
|
margin-top: 0;
|
|
|
|
&:first-of-type {
|
|
margin-top: 20px;
|
|
}
|
|
}
|
|
|
|
&.color {
|
|
background-color: var(--color-white);
|
|
background-blend-mode: hard-light;
|
|
}
|
|
|
|
&.light {
|
|
background-color: var(--color-fog);
|
|
background-blend-mode: color-burn;
|
|
}
|
|
|
|
&.dark {
|
|
color: var(--color-fog);
|
|
background-color: var(--color-navy);
|
|
background-blend-mode: soft-light;
|
|
|
|
a {
|
|
color: var(--color-mustard);
|
|
}
|
|
}
|
|
|
|
.feature-box-inner {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 80px 160px;
|
|
|
|
div {
|
|
display: flex;
|
|
flex-direction: column;
|
|
|
|
img {
|
|
max-width: calc(100vw - 2 * 80 * var(--variable-px));
|
|
}
|
|
|
|
span {
|
|
font-weight: 800;
|
|
margin-top: 20px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
a {
|
|
white-space: nowrap;
|
|
}
|
|
}
|
|
}
|
|
|
|
+ h3 {
|
|
margin-top: 20px;
|
|
}
|
|
}
|