Skip to content

Add Dark Mineral Theme #1619

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

Merged
merged 1 commit into from
Dec 9, 2022
Merged
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,7 @@ Current available themes:
* darkblog - [preview](https://chand1012.dev/mit-license/) (by [@chand1012](https://github.com/chand1012))
* ubuntu mono - [preview](https://kuameh.github.io/ubuntu-mono-theme-preview/) (by [@Kuameh](https://github.com/Kuameh))
* purple yam - [preview](https://jade-arinal-banares.github.io/purple-yam-preview-theme/) (by [@Bañares](https://github.com/jade-arinal-banares))
* dark mineral - [preview](https://axorax.github.io/mit-license-themes-axorax/preview?theme=dark-mineral) (by [@axorax](https://github.com/Axorax))

## Formats & URLs

Expand Down
93 changes: 93 additions & 0 deletions themes/dark-mineral.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
/* dark-mineral theme v1.0.0 by Axorax, https://github.com/Axorax/mit-license-themes-axorax */
/* MIT License https://axorax.mit-license.org/ */

@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro&display=swap');

:root {
color-scheme: dark;
}

body {
margin: 0;
font-family: 'Source Sans Pro', sans-serif;
line-height: 1.5;
background: #121212;
color: #f5f5f5;
}

a {
text-decoration: none;
color: #779eff;
}

a:hover, a:focus {
text-decoration: underline;
}

article, footer {
width: 51.5rem;
max-width: calc(100% - 6rem);
margin: 1.2em auto 0 auto;
border-radius: 5px;
padding: 2rem;
background: #171717;
border: 1.3px solid #2F2F2F;
font-size: 16px;
}

article p:nth-last-child(2) {
border-left: 3px solid #4649FF;
padding: .8rem 1.2rem;
border-radius: 7px;
background: #4649ff59;
color: #b9bbff;
}

footer {
width: 54rem;
max-width: calc(100% - 3.6rem);
text-align: center;
padding: 0 .8rem!important;
margin-bottom: 1em;
}

footer a, footer p {
color: #6b6b6b;
padding: 0!important;
transition: 400ms;
}

footer a:hover, footer a:focus {
color: #cbcbcb;
text-decoration: none;
}

h1 {
margin-top: 0;
color: #fff!important;
font-weight: normal;
display: inline;
padding: 0 0 3px 0;
line-height: 36px;
}

article p:first-of-type {
margin-top: 1.6em;
}

article p:last-child {
margin-bottom: 0;
}

::selection {
background: #2d68fc;
}

#gravatar {
position: relative;
float: right;
margin-bottom: 1em;
margin-left: 1em;
border-radius: 50%;
border: 1.3px solid #404040;
}