Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

💄 Modernize the appearance of about page and make it responsive. #530

Merged
merged 48 commits into from
Mar 2, 2024
Merged
Show file tree
Hide file tree
Changes from 45 commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
87c8280
lazyload search result text with css content-visibility
cybrejon Nov 27, 2023
0d95fa9
typo, lightning-fast is grammatically correct
cybrejon Nov 27, 2023
8c70961
Merge branch 'rolling' into rolling
neon-mmd Nov 27, 2023
c82e1d8
Merge branch 'rolling' of https://github.com/cybrejon/websurfx into r…
cybrejon Nov 29, 2023
a7f5007
Merge branch 'rolling' of https://github.com/neon-mmd/websurfx into r…
cybrejon Dec 5, 2023
4c95824
revamped logo to look more modern
cybrejon Dec 5, 2023
df813c3
added class to control how new logo looks and behaves
cybrejon Dec 5, 2023
1f56399
added class to control how new logo looks and behaves
cybrejon Dec 5, 2023
b5e2f8e
Replace old websurfx logo in readme file
cybrejon Dec 6, 2023
f39755e
Merge branch 'rolling' into rolling
mergify[bot] Dec 6, 2023
0f855e3
Merge branch 'rolling' of https://github.com/neon-mmd/websurfx into r…
cybrejon Dec 7, 2023
551044c
major visual revamp
cybrejon Dec 8, 2023
7a77a47
Merge branch 'rolling' of https://github.com/cybrejon/websurfx into r…
cybrejon Dec 8, 2023
de2959c
removed logo files and switched to inline svg
cybrejon Dec 8, 2023
0f4e681
added `--logo-color` to make svg logo colorscheme adaptive
cybrejon Dec 8, 2023
960c848
Merge branch 'rolling' into rolling
alamin655 Dec 8, 2023
3623923
Update public/static/themes/simple.css
cybrejon Dec 9, 2023
cfb51f9
[CodeFactor] Apply fixes
code-factor Dec 9, 2023
cb1bb3c
Merge branch 'rolling' into rolling
neon-mmd Dec 9, 2023
3e7576b
Merge branch 'rolling' into rolling
cybrejon Dec 9, 2023
211e1b7
chores: fix duplicate footer selector and remove unknown pseudo-class
cybrejon Dec 9, 2023
5ee20ac
Merge branch 'rolling' of https://github.com/cybrejon/websurfx into r…
cybrejon Dec 9, 2023
4e06216
chores: remove missed duplicate footer selector
cybrejon Dec 9, 2023
cdd9d53
chores: pass formatter check by deleting empty line at 18
cybrejon Dec 9, 2023
317de98
Merge branch 'rolling' of https://github.com/neon-mmd/websurfx into r…
cybrejon Dec 10, 2023
9c3c532
Merge branch 'rolling' of https://github.com/neon-mmd/websurfx into r…
cybrejon Dec 19, 2023
c7af9f9
fix search result title disappearing after being visited
cybrejon Dec 20, 2023
dc4e786
Merge branch 'rolling' of https://github.com/neon-mmd/websurfx into r…
cybrejon Dec 21, 2023
f7b5535
Merge branch 'rolling' of https://github.com/neon-mmd/websurfx into r…
cybrejon Dec 24, 2023
2ccd1c6
Merge branch 'rolling' of https://github.com/neon-mmd/websurfx into r…
cybrejon Dec 25, 2023
27b0b96
Merge branch 'neon-mmd:rolling' into rolling
cybrejon Jan 9, 2024
5ecc1a9
Merge branch 'rolling' of https://github.com/cybrejon/websurfx into r…
cybrejon Jan 9, 2024
f26a27a
Merge branch 'neon-mmd:rolling' into rolling
cybrejon Jan 12, 2024
0e1714b
Merge branch 'rolling' of https://github.com/cybrejon/websurfx into r…
cybrejon Jan 12, 2024
b1fdbd6
Merge branch 'neon-mmd:rolling' into rolling
cybrejon Feb 20, 2024
d5df3a6
Merge branch 'rolling' of https://github.com/cybrejon/websurfx into r…
cybrejon Feb 20, 2024
0a9558e
💄 style: revamped the about page to look more modern and responsive
cybrejon Feb 20, 2024
08a6b0f
[CodeFactor] Apply fixes
code-factor Feb 20, 2024
a1a615b
chore: remove invalid css property
cybrejon Feb 21, 2024
f832599
chore: remove lines between or after svg string literals to conform w…
cybrejon Feb 21, 2024
2179ebc
chore: remove unknown typeface property
cybrejon Feb 21, 2024
938ba26
chore: remove blank lines between svg literals to conform with proper…
cybrejon Feb 21, 2024
c3d04bc
refactor: changed decimal values to percentage, added quotation in ur…
cybrejon Feb 21, 2024
338e074
refactor: correctly remove blank lines between and after svg string l…
cybrejon Feb 21, 2024
f981823
chore: revert percentage values into decimals and trimmed blank lines…
cybrejon Feb 21, 2024
d81d1c3
combine font face queries into one
cybrejon Feb 22, 2024
dde4020
fix: added missing quotation marks on font face url
cybrejon Feb 22, 2024
1f4d0cf
Merge branch 'rolling' into rolling
alamin655 Mar 1, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
196 changes: 178 additions & 18 deletions public/static/themes/simple.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,42 @@
/* @import url('./catppuccin-mocha.css'); */
@font-face {
font-family: Rubik;
src: url('https://fonts.googleapis.com/css2?family=Rubik:wght@400;500;600;700;800&display=swap');
fallback: sans-serif;
font-style: normal;
font-weight: 200;
font-display: swap;
src: url("https://fonts.gstatic.com/s/rubik/v28/iJWKBXyIfDnIV7nBrXw.woff2") format('woff2');
}

@font-face {
font-family: Rubik;
font-style: normal;
font-weight: 300;
font-display: swap;
src: url("https://fonts.gstatic.com/s/rubik/v28/iJWKBXyIfDnIV7nBrXw.woff2") format('woff2');
}

@font-face {
font-family: Rubik;
font-style: normal;
font-weight: 400;
font-display: swap;
src: url("https://fonts.gstatic.com/s/rubik/v28/iJWKBXyIfDnIV7nBrXw.woff2") format('woff2');
}

@font-face {
font-family: Rubik;
font-style: normal;
font-weight: 500;
font-display: swap;
src: url("https://fonts.gstatic.com/s/rubik/v28/iJWKBXyIfDnIV7nBrXw.woff2") format('woff2');
}

@font-face {
font-family: Rubik;
font-style: normal;
font-weight: 600;
font-display: swap;
cybrejon marked this conversation as resolved.
Show resolved Hide resolved
src: url("https://fonts.gstatic.com/s/rubik/v28/iJWKBXyIfDnIV7nBrXw.woff2") format('woff2');
}

* {
Expand All @@ -20,7 +54,7 @@ body {
flex-direction: column;
justify-content: space-between;
align-items: center;
height: 100vh;
min-height: 100vh;
font-family: Rubik, sans-serif;
background-color: var(--background-color);
}
Expand Down Expand Up @@ -459,39 +493,121 @@ footer div {
font-size: 1.5rem;
color: var(--foreground-color);
padding-bottom: 10px;
max-width: 1100px;
margin: 14rem auto;
display: flex;
flex-direction: column;
row-gap: 100px;
}

.about-container article h1 {
color: var(--color-two);
font-size: 2.8rem;
font-size: 4.5rem;
}

.about-container article .logo-container {
display: flex;
align-items: center;
justify-content: center;
}

.about-container article div {
padding-bottom: 15px;
.about-container article .logo-container svg {
width: clamp(200px, 530px, 815px);
}

.about-container a {
color: var(--color-three);
.about-container article .text-block {
box-shadow: 0 0 0 100vmax var(--foreground-color);
background-color: var(--foreground-color);
clip-path: inset(0 -100vmax);
padding: 90px 0;
display: flex;
gap: 40px;
align-items: center;
justify-content: center;
flex-direction: column;
text-align: center;
color: var(--background-color);
}

.about-container article h2 {
color: var(--color-three);
font-size: 1.8rem;
padding-bottom: 10px;
.about-container article .text-block .text-block-title {
font-size: 64px;
font-weight: 500;
}

.about-container p {
color: var(--foreground-color);
font-size: 1.6rem;
padding-bottom: 10px;
.hero-text-container {
width: 860px;
}

.about-container h3 {
font-size: 1.5rem;
.hero-text {
font-size: 45px;
font-weight: 200;
}

.about-container a {
color: var(--color-three);
}

.about-container {
width: 80%;
margin-bottom: 140px;
}

.feature-list {
padding: 35px;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
row-gap: 60px;
}

.feature-list-title {
text-align: center;
font-size: 64px;
font-weight: 500;
}

.features {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 40px;
}

.feature-card {
background-color: var(--foreground-color);
color: var(--background-color);
text-align: center;
display: flex;
padding: 30px;
border-radius: 24px;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 15px;
}

.feature-card-header {
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
row-gap: 15px;
}

.feature-card-header h4 {
font-size: 33px;
font-weight: 500;
}

.feature-card-body p {
font-size: 20px;
font-weight: 200;
}

.about-footnote {
font-size: 24px;
text-align: center;
color: var(--foreground-color);
}

/* Styles for the settings page */
Expand Down Expand Up @@ -730,3 +846,47 @@ input:checked + .slider::before {
.slider.round::before {
border-radius: 50%;
}

@media screen and (width <= 1136px) {
.hero-text-container {
width: unset;
}

.features {
grid-template-columns: repeat(2, 1fr);
}
}

@media screen and (width <= 706px) {
.about-container article .logo-container svg {
width: clamp(200px, 290px, 815px);
}

.about-container article .text-block .text-block-title {
font-size: 33px;
}

.hero-text {
font-size: 22px;
}

.about-container {
width: unset;
}

.feature-list-title {
font-size: 33px;
}

.features {
grid-template-columns: 1fr;
}

.feature-list {
padding: 35px 0;
}

.feature-card {
border-radius: 0;
}
}
Loading
Loading