Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
samarsault committed Jul 3, 2021
2 parents 118d963 + 8d53b03 commit 9279850
Show file tree
Hide file tree
Showing 12 changed files with 43 additions and 11 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Simplistic jekyll portfolio-style theme for writers.

**Demo**: [thelehhman.com](https://thelehhman.com)
**Demo**: [samarsault.com](https://samarsault.com)

![plainwhite theme preview](/screenshot.png)

Expand Down
2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ plainwhite:
twitter: samarsault
github: samarsault
linkedIn: in/samarsault
#rss: rss
#dribbble: jekyll
#flickr: jekyll
#instagram: jekyll
Expand All @@ -39,6 +38,7 @@ plainwhite:
#soundcloud: jekyll
#telegram: jekyll
#gitlab: jekyll
#email: jekyll

# Mastodon instances
# mastodon:
Expand Down
14 changes: 14 additions & 0 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,20 @@ <h2 id="title">
</li>
</a>
{%- endif -%}
{%- if site.plainwhite.social_links.email -%}
<a href="mailto:{{ site.plainwhite.social_links.email }}" target="_blank">
<li>
<i class="icon-mail-alt"></i>
</li>
</a>
{%- endif -%}
{%- if site.plainwhite.social_links.stackoverflow -%}
<a href="https://stackoverflow.com/users/{{ site.plainwhite.social_links.stackoverflow }}" target="_blank">
<li>
<i class="icon-stack-overflow"></i>
</li>
</a>
{%- endif -%}
</ul>
{%- endif -%}
{%- if site.plainwhite.navigation -%}
Expand Down
12 changes: 6 additions & 6 deletions _sass/dark.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
background-color: #171717;
color: $dark_text_color;
border-color: #e6e6e6;

.about{
img.light {
display: none;
Expand All @@ -19,7 +19,7 @@
}

.social [class^="icon-"] {
color: $dark_text_color
color: $dark_text_color
}

#posts-label {
Expand All @@ -28,7 +28,7 @@
}

@import 'ext/solarized-dark';
.highlight, .highlight *
.highlight, .highlight *
{
background-color: #00080a;
color: #93a1a1;
Expand Down Expand Up @@ -74,12 +74,12 @@
}
}
}

.search-section i {
background-color: transparent;
}
}

.posts-labelgroup:hover {

i {
Expand All @@ -93,7 +93,7 @@


.posts-labelgroup.focus-within {

.search-section {
background-color: #333;
}
Expand Down
4 changes: 3 additions & 1 deletion _sass/ext/_fonts.scss
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
.icon-search:before { content: '\e805'; } /* '' */
.icon-github-circled:before { content: '\f09b'; } /* '' */
.icon-pinterest-squared:before { content: '\f0d3'; } /* '' */
.icon-mail-alt:before { content: '\f0e0'; } /* '' */
.icon-youtube:before { content: '\f167'; } /* '' */
.icon-instagram:before { content: '\f16d'; } /* '' */
.icon-flickr:before { content: '\f16e'; } /* '' */
Expand All @@ -69,4 +70,5 @@
.icon-twitter-squared:before { content: '\f304'; } /* '' */
.icon-facebook-squared:before { content: '\f308'; } /* '' */
.icon-linkedin-squared:before { content: '\f30c'; } /* '' */
.icon-soundcloud:before { content: '\f348'; } /* '' */
.icon-soundcloud:before { content: '\f348'; } /* '' */
.icon-stack-overflow:before { content: '\f16c'; } /* '' */
12 changes: 12 additions & 0 deletions assets/font/fontello-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,18 @@
"code": 62102,
"src": "fontawesome"
},
{
"uid": "ccc2329632396dc096bb638d4b46fb98",
"css": "mail-alt",
"code": 61664,
"src": "fontawesome"
},
{
"uid": "e1597911f34fea0a188ae51fe4a2d9a9",
"css": "stackoverflow",
"code": 61804,
"src": "fontawesome"
},
{
"uid": "1f1877aff7a2cd39092fcf73c3b5e7cb",
"css": "github-circled",
Expand Down
Binary file modified assets/font/fontello.eot
Binary file not shown.
6 changes: 5 additions & 1 deletion assets/font/fontello.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/font/fontello.ttf
Binary file not shown.
Binary file modified assets/font/fontello.woff
Binary file not shown.
Binary file modified assets/font/fontello.woff2
Binary file not shown.
2 changes: 1 addition & 1 deletion assets/js/darkmode.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ if ( (theme === null && userPrefersDark) || theme === 'dark') {
};

function toggleSwitch() {
document.querySelectorAll('#dark-mode-toggle').forEach(ti => ti.checked = true);
document.querySelectorAll('.dark-mode-toggle').forEach(ti => ti.checked = true);
};

// Attempt both requestAnimationFrame and DOMContentLoaded, whichever comes first.
Expand Down

0 comments on commit 9279850

Please sign in to comment.