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

Add Mastodon inspired theme #647

Merged
merged 2 commits into from
Mar 28, 2024
Merged
Changes from all commits
Commits
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
91 changes: 91 additions & 0 deletions profiles/themes/mastodon.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
/* Theme: Mastodon Inspired (https://joinmastodon.org)
Author: Jordan Warne (jw.omg.lol)
License: Public domain
Version: 1.0 */
/* -- General Styles -- */

@import url('https://fonts.googleapis.com/css2?family=Manrope');

:root {
--bg: #edf1f3;
/* Mastodon light background */
--fg: #24292e;
/* Dark Text */
--profile: #ffffff;
/* Inner profile background */
--verified: #6364FF;
/* Verified checkmark and location dot color */
--border: #b8c6d3
/* Border around profile */
}

@media (prefers-color-scheme: dark) {
:root {
--bg: #17181c;
/* Mastodon dark background */
--fg: #e1e1e1;
/* Light text */
--profile: #242730;
/* Inner profile background */
--verified: #6364FF;
/* Verified checkmark and location dot color */
--border: #323745;
/* Border around profile */
}
}

body {
padding-top: 0.5em;
padding-bottom: 0.5em;
background: var(--bg);
color: var(--fg);
font-family: "Manrope", Arial, sans-serif;
}

main {
background: var(--profile);
border: 1px solid var(--border);
border-radius: 5px;
padding: 25px;
margin: 30px auto;
}

h1#name a i.fa-badge-check,
.omg-verified {
color: var(--verified) !important;
}

#pronouns a:link,
#pronouns a:visited,
#pronouns a:hover,
#pronouns a:active,
#pronouns {
color: var(--fg);
opacity: 0.7;
}

a:link,
a:visited {
color: #8082fa;
border-bottom: 2px solid var(--profile);
}

a:hover,
a:active {
color: #8082fa;
border-bottom: 2px solid #8082fa;
}

.fa-li,
.fas,
.omg-icon,
.omg-icon path {
color: #858AFA;
fill: #858AFA;
stroke: #858AFA;
}

.fa-location-dot {
color: var(--verified);
/* Location stays Mastodon blue */
}