An t-Ubhal-ghort Theme

I’m thinking of switching to WriteFreely from GitHub Pages so I’ve been working on a dark mode theme which I thought I would share. There’s a live preview with a sample set of posts at https://write.as/macmhicheil/.

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

body{
    background-color: #0D1117;
    color: #f0f0f0;
}

#blog-title a{
    font-family: "Lemonada";
    font-weight: 900;
    font-size: 1.5em;
}

#post #blog-title a, #subpage #blog-title a {
    font-size: 1em;
}

nav#manage ul a{
    color: #56c1bb;
}

#post nav a:not(.home), header nav a{
    color: #56c1bb;
}

#post nav a:not(.home):hover, header nav a:hover{
    color: #347470;
}

body h1 a, body header h2 a {
	 color: #56c1bb;
	}
	
body h1 a:hover, body header h2 a:hover {
	 color: #347470;
	}

header p.description{
    color: #f0f0f0;
}

a{
    color: #56c1bb;
}

a:hover{
    color: #347470;
}

.post-title a {
	 color: #56c1bb;
	}
	
.post-title a:hover {
	 color: #347470;
	}
	
#collection .post-title a {
   color: #56c1bb;
}

#collection .post-title a:hover {
   color: #347470;
}

#collection article p, #subpage article p{
    font-size: 18px;
}

body#collection #wrapper h1, body#subpage #wrapper h1, body#post article h1#title, body#post article h1{
    font-size: 30px;
    color: #f0f0f0;
    font-family: "Lemonada";
}

body#collection #wrapper h2, body#subpage #wrapper h2, body#post article h2#title, body#post article h2{
    font-size: 28px;
    color: #f0f0f0;
    font-family: "Lemonada";
}

body#collection #wrapper h3, body#subpage #wrapper h3, body#post article h3#title, body#post article h3{
    font-size: 26px;
    color: #f0f0f0;
    font-family: "Lemonada";
}

body#collection #wrapper h4, body#subpage #wrapper h4, body#post article h4#title, body#post article h4{
    font-size: 24px;
    color: #f0f0f0;
    font-family: "Lemonada";
}

body#collection #wrapper h5, body#subpage #wrapper h5, body#post article h5#title, body#post article h5{
    font-size: 22px;
    color: #f0f0f0;
    font-family: "Lemonada";
}

body#collection #wrapper h6, body#subpage #wrapper h6, body#post article h6#title, body#post article h6{
    font-size: 20px;
    color: #f0f0f0;
    font-family: "Lemonada";
}

.avatar{
    margin: auto;
    display: block;
    width: 100px;
    height: 100px;
    border-radius: 50%;
}

a.btn.cta, a.btn.gentlecta, a.btn.submit, a.btn[type=submit], button.cta, button.gentlecta, button.submit, button[type=submit], input.cta, input.gentlecta, input.submit, input[type=submit]{
    background: #56c1bb;
    border: 1px solid #56c1bb;
}

a.btn.cta:hover, a.btn.gentlecta:hover, a.btn.submit:hover, a.btn[type=submit]:hover, button.cta:hover, button.gentlecta:hover, button.submit:hover, button[type=submit]:hover, input.cta:hover, input.gentlecta:hover, input.submit:hover, input[type=submit]:hover, select.inputform.cta:hover, select.inputform.gentlecta:hover, select.inputform.submit:hover, select.inputform[type=submit]:hover, textarea.inputform.cta:hover, textarea.inputform.gentlecta:hover, textarea.inputform.submit:hover, textarea.inputform[type=submit]:hover{
    background: #347470;
    border: 1px solid #347470;
}

body footer nav{
    color: #f0f0f0;
}

body footer a.home:link, body footer a.home:visited{
    color: #56c1bb;
}

body footer nav a.home:hover{
    color: #347470;
}
1 Like

This is awesome, thank you for sharing!!

Would you mind if we listed this on our Themes blog?

1 Like

Thanks @matt. Yes, I’m happy for you to list it on the themes blog. I’ve tweaked it slightly and updated it to include styling on the tag pages so here is the updated CSS.

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

body{
    background-color: #0D1117;
    color: #f0f0f0;
}

#blog-title a{
    font-family: "Lemonada";
    font-weight: 900;
    font-size: 1.5em;
}

#post #blog-title a, #subpage #blog-title a {
    font-size: 1em;
}

nav#manage ul a{
    color: #008080;
}

#post nav a:not(.home), header nav a{
    color: #008080;
}

#post nav a:not(.home):hover, header nav a:hover{
    color: #56C1BB;
}

body h1 a, body header h2 a {
	 color: #008080;
	}
	
body h1 a:hover, body header h2 a:hover {
	 color: #56C1BB;
	}

header p.description{
    color: #f0f0f0;
}

a{
    color: #008080;
}

a:hover{
    color: #56C1BB;
}

.post-title a {
	 color: #008080;
	}
	
.post-title a:hover {
	 color: #56C1BB;
	}
	
.post-title a:visited{
	 color: #008080;
	}
	
#collection .post-title a {
   color: #008080;
}

#collection .post-title a:hover {
   color: #56C1BB;
}

#post article .authors, #post article time.dt-published, #subpage article .authors, #subpage article time.dt-published{
    
}

#collection article p, #subpage article p{
    font-size: 18px;
}

body#collection #wrapper h1, body#subpage #wrapper h1, body#post article h1#title, body#post article h1{
    font-size: 30px;
    color: #f0f0f0;
    font-family: "Lemonada";
}

body#collection #wrapper h2, body#subpage #wrapper h2, body#post article h2#title, body#post article h2{
    font-size: 28px;
    color: #f0f0f0;
    font-family: "Lemonada";
}

body#collection #wrapper h3, body#subpage #wrapper h3, body#post article h3#title, body#post article h3{
    font-size: 26px;
    color: #f0f0f0;
    font-family: "Lemonada";
}

body#collection #wrapper h4, body#subpage #wrapper h4, body#post article h4#title, body#post article h4{
    font-size: 24px;
    color: #f0f0f0;
    font-family: "Lemonada";
}

body#collection #wrapper h5, body#subpage #wrapper h5, body#post article h5#title, body#post article h5{
    font-size: 22px;
    color: #f0f0f0;
    font-family: "Lemonada";
}

body#collection #wrapper h6, body#subpage #wrapper h6, body#post article h6#title, body#post article h6{
    font-size: 20px;
    color: #f0f0f0;
    font-family: "Lemonada";
}

.avatar img{
    margin: 0px auto;
    display: block;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 8px solid #f0f0f0;
}

body #post audio, body #post img, body #post video, body#collection audio, body#collection img, body#collection video, body#post audio, body#post img, body#post video, body#subpage audio, body#subpage img, body#subpage video{
    margin: auto;
    display: block;
}

body #post pre code, body#collection pre code, body#post pre code, body#subpage pre code{
    color: #0D1117;
}

body#collection a.read-more {
    color: #0D1117;
}

body#collection a.read-more:before {
    content: 'Leugh an-còrr...';
    color: #008080;
}

body#collection a.read-more, body#subpage a.read-more{
    color: #0D1117;
}

body#collection a.read-more:before, body#subpage a.read-more:before{
    content: 'Leugh an-còrr...';
    color: #008080;
}

a.btn.cta, a.btn.gentlecta, a.btn.submit, a.btn[type=submit], button.cta, button.gentlecta, button.submit, button[type=submit], input.cta, input.gentlecta, input.submit, input[type=submit]{
    background: #008080;
    border: 1px solid #008080;
}

a.btn.cta:hover, a.btn.gentlecta:hover, a.btn.submit:hover, a.btn[type=submit]:hover, button.cta:hover, button.gentlecta:hover, button.submit:hover, button[type=submit]:hover, input.cta:hover, input.gentlecta:hover, input.submit:hover, input[type=submit]:hover, select.inputform.cta:hover, select.inputform.gentlecta:hover, select.inputform.submit:hover, select.inputform[type=submit]:hover, textarea.inputform.cta:hover, textarea.inputform.gentlecta:hover, textarea.inputform.submit:hover, textarea.inputform[type=submit]:hover{
    background: #56C1BB;
    border: 1px solid #56C1BB;
}

body footer nav{
    color: #f0f0f0;
}

body footer a.home:link, body footer a.home:visited{
    color: #008080;
}

body footer nav a.home:hover{
    color: #56C1BB;
}