1
0
mirror of https://github.com/privacyguides/discourse-brand.git synced 2025-06-16 01:41:17 +00:00

Import custom CSS

This commit is contained in:
Jonah Aragon 2023-05-28 15:45:56 -05:00
parent ce9285a4d9
commit d5f086c088
Signed by: jonah
SSH Key Fingerprint: SHA256:oJSBSFgpWl4g+IwjL96Ya8ocGfI7r6VKnQw+257pZZ0
5 changed files with 245 additions and 193 deletions

View File

@ -89,6 +89,13 @@ body:not(.category-announcements-blog) .forum-custom-header-links > a {
border-top: none;
}
.create-account .user-fields {
display: none;
}
.second-factor-item > .actions > button.btn-danger.btn-flat.no-text.btn.no-text.btn-icon {
display: none;
}
// From discourse-easy-footer component:
.custom-footer {

22
common/embedded.scss Normal file
View File

@ -0,0 +1,22 @@
@media (prefers-color-scheme: dark) {
html {
background-color: rgb(26, 26, 27);
color: rgb(233, 235, 252);
}
a, a:visited, .in-reply-to {
color: rgb(255, 208, 111);
}
.username a {
color: var(--primary-low);
}
article.post {
border-bottom: 1px solid hsla(232,72%,90%,0.12);
}
header.discourse {
border-bottom: 3px solid hsla(232,72%,90%,0.12);
}
footer .button {
background-color: rgb(255, 208, 111);
color: #070707;
}
}

View File

@ -217,16 +217,24 @@
<div class="social">
<a class="social-link mastodon" title="follow us on Mastodon" href="https://mastodon.neat.computer/@privacyguides">
<svg class="fa d-icon d-icon-fab-mastodon svg-icon svg-string" xmlns="http://www.w3.org/2000/svg"><use href="#fab-mastodon"></use></svg>
<svg class="fa d-icon d-icon-fab-mastodon svg-icon svg-string" xmlns="http://www.w3.org/2000/svg">
<use href="#fab-mastodon"></use>
</svg>
</a>
<a class="social-link github" title="contribute to the website on GitHub" href="https://github.com/privacyguides">
<svg class="fa d-icon d-icon-fab-github svg-icon svg-string" xmlns="http://www.w3.org/2000/svg"><use href="#fab-github"></use></svg>
<svg class="fa d-icon d-icon-fab-github svg-icon svg-string" xmlns="http://www.w3.org/2000/svg">
<use href="#fab-github"></use>
</svg>
</a>
<a class="social-link twitter" title="show some love on Twitter" href="https://twitter.com/privacy_guides">
<svg class="fa d-icon d-icon-fab-twitter svg-icon svg-string" xmlns="http://www.w3.org/2000/svg"><use href="#fab-twitter"></use></svg>
<svg class="fa d-icon d-icon-fab-twitter svg-icon svg-string" xmlns="http://www.w3.org/2000/svg">
<use href="#fab-twitter"></use>
</svg>
</a>
<a class="social-link reddit" title="join the community on Reddit" target="_blank" href="https://www.reddit.com/r/privacyguides">
<svg class="fa d-icon d-icon-fab-reddit svg-icon svg-string" xmlns="http://www.w3.org/2000/svg"><use href="#fab-reddit"></use></svg>
<svg class="fa d-icon d-icon-fab-reddit svg-icon svg-string" xmlns="http://www.w3.org/2000/svg">
<use href="#fab-reddit"></use>
</svg>
</a>
</div>
</div>

11
common/head.html Normal file
View File

@ -0,0 +1,11 @@
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@id": "https://www.privacyguides.org/",
"@type": "Organization",
"logo": "https://forum-uploads.privacyguidesusercontent.com/original/1X/7e223a1d8466e532aa4f45566d3e18dd0829eb17.png",
"name": "Privacy Guides",
"sameAs": ["https://github.com/privacyguides", "https://www.wikidata.org/wiki/Q111710163"],
"url": "https://www.privacyguides.org/en/about/"
}
</script>

View File

@ -7,3 +7,7 @@
.post-menu-area {
margin: 0;
}
.above-main-container-outlet.welcome-link-banner-connectors .welcome-wrapper, .below-site-header-outlet.welcome-link-banner-connector .welcome-wrapper {
box-shadow: none;
margin: 0;
}