Skip to content

Commit

Permalink
add README
Browse files Browse the repository at this point in the history
  • Loading branch information
SdtElectronics committed Sep 9, 2021
1 parent a91b6c2 commit 39d048c
Show file tree
Hide file tree
Showing 9 changed files with 126 additions and 17 deletions.
38 changes: 38 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Antarctica Theme

![hqCsB9.png](https://z3.ax1x.com/2021/09/09/hqCsB9.png)


The goal of Antarctica is evolving to an elegant and feature-rich theme across platforms.


[Live demo](https://sdtelectronics.github.io/jekyll-theme-antarctica/)

## Features
* Fully responsive layout achieves best visual on different screens
* Flexible widgets provide extensible functionality
* Integrated [NerdFonts](www.nerdfonts.com) with 3000+ icons
* Automatic sitemap generation with [Jekyll Sitemap](https://github.com/jekyll/jekyll-sitemap)
* Configuration-free search engine optimization with [Jekyll Seo Tag](https://github.com/jekyll/jekyll-seo-tag)
* Reduced JavaScript usage to accelerate loading. No external js file for main frame (Some widgets require external JavaScript).

## Installation
There are three ways to install:
* If you are hosting the site by yourself, you may prefer to [install as a gem-based theme](https://jekyllrb.com/docs/themes/#installing-a-theme)
* If you are hosting the site on Github pages, you can [install as a remote theme](https://github.blog/2017-11-29-use-any-theme-with-github-pages/)
* You can also fork the master branch of this repository

## Customization
Customizable options are under [_config.yml](_config.yml). Coments inside will help you to edit them.

## Roadmap

| Feature | Planned Version |
| :-------------------------- | :--------------: |
| Scrollable widget bar | 0.2 |
| Bottom nav popup expansion | 0.2 |
| Comment widget improvement | 0.2 |
| Related sites widget | 0.2 |
| Related sites widget | 0.2 |
| Arcylic color scheme | 0.3 |

2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
# You can create any custom variable you would like, and they will be accessible
# in the templates via {{ site.myvariable }}.

title: Your awesome title
title: Theme Antarctica
email: your-email@domain.com
author: SdtElectronics

Expand Down
14 changes: 13 additions & 1 deletion _includes/widgets/colophon.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,19 @@ <h2>All Rights Reserved.</h2>
</div>

<div class = "rightRow">
<h2>Powered by <a href = "https://jekyllrb.com/">Jekyll</a> | Theme <a href = "https://github.com/SdtElectronics/jekyll-theme-antarctic">Antarctic</a></h2>
<h2>Powered by <a href = "https://jekyllrb.com/">Jekyll</a> | Theme <a href = "https://github.com/SdtElectronics/jekyll-theme-antarctica">Antarctica</a></h2>
</div>
</div>

<style>
.colophon{
padding-bottom: 0.3rem;
flex-shrink: 0;
}

.colophon>.rightRow>*{
color: var(--foreground-light);
font-size: 0.9rem;
}
</style>
{%- endif -%}
17 changes: 16 additions & 1 deletion _includes/widgets/comment.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{%- if site.template.widgets contains "comment" -%}
<div class = "rightElem shadowTile rightComt">
<h1 class = "lstH1">Comments</h1>
<div id = "vcomments" style = "padding: 0.6rem 0.8rem 1rem 0.8rem;"></div>
<div id = "vcomments"></div>
<script>
new Valine({
el: '#vcomments',
Expand All @@ -11,4 +11,19 @@ <h1 class = "lstH1">Comments</h1>
})
</script>
</div>

<style>
#vcomments{
padding: 0.6rem 0.8rem 1rem 0.8rem;
overflow-y: auto;
max-height: calc(100% - 2.1rem);
scrollbar-width: none; /* Firefox */
-ms-overflow-style: none; /* Internet Explorer 10+ */
}

#vcomments::-webkit-scrollbar{ /* WebKit */
width: 0;
height: 0;
}
</style>
{%- endif -%}
15 changes: 15 additions & 0 deletions _includes/widgets/global_cmt.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,19 @@ <h1 class = "lstH1">Leave a Message</h1>
})
</script>
</div>

<style>
#vcomments{
padding: 0.6rem 0.8rem 1rem 0.8rem;
overflow-y: auto;
max-height: calc(100% - 2.1rem);
scrollbar-width: none; /* Firefox */
-ms-overflow-style: none; /* Internet Explorer 10+ */
}

#vcomments::-webkit-scrollbar{ /* WebKit */
width: 0;
height: 0;
}
</style>
{%- endif -%}
8 changes: 7 additions & 1 deletion _includes/widgets/post_meta.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{%- if site.template.widgets contains "post_meta" -%}
{% assign date_format = site.template.date_format | default: "%b %-d, %Y" %}

<div class = "rightElem shadowTile">
<div class = "rightElem shadowTile metadata">
<h1 class = "lstH1">Metadata</h1>

<div class = "rightRow">
Expand All @@ -24,4 +24,10 @@ <h2>Tags:</h2>
</div>
</div>
</div>

<style>
.metadata{
flex-shrink: 0;
}
</style>
{%- endif -%}
7 changes: 5 additions & 2 deletions about.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
---
layout: about

heading: Antarctic
intro: Antarctic 0.1 🧊 Stylish and feature-rich theme for Jekyll
heading: Antarctica
intro: Antarctica 0.1 🧊 Stylish and feature-rich theme for Jekyll
githubAddr: https://github.com/SdtElectronics
stackOverflowAddr: https://stackoverflow.com/users/10627291/sdtelectronics
twitterAddr: https://twitter.com/SdtElectronics
attrs:
- LICENSE: GPL v3
icon: nf-mdi-scale_balance
Expand Down
25 changes: 14 additions & 11 deletions assets/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -396,6 +396,18 @@ ul{
color: var(--foreground-emph);
}

.articleBody img{
width: 100%;
}

.articleBody ul, .articleBody ol {
margin-left: 30px;
}

.articleBody ul{
list-style-type: disc;
}

.hnk::before{
color: var(--foreground-light);
margin-left: 0.3rem;
Expand Down Expand Up @@ -878,15 +890,6 @@ table th, table td {
flex-grow: 1;
}

.colophon{
padding-bottom: 0.3rem;
}

.colophon>.rightRow>*{
color: var(--foreground-light);
font-size: 0.9rem;
}

#bottomNav{
display: none;
position: fixed;
Expand Down Expand Up @@ -945,8 +948,8 @@ ul.bottomPop{

.bottomPopbtn{
margin: 0px;
appearance: none;
opacity: 0;
margin: calc(var(--sidebar-elem-size) * -1rem) 0px 0px 0px;
height: 0px;
}

.bottomPopbtn::after{
Expand Down
17 changes: 17 additions & 0 deletions collections/_posts/2021-8-25-Theme-Antarctica.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,32 @@ tags: antarctica theme
eyeCatcher: https://refstatic.sk/article/od-antarktidy-sa-odtrhol-jeden-z-najvacsich-zaznamenanych-ladovcov-v-historii~25d92685f6b3b93aefe6.jpg?is=1440x513c&ic=0x439x1579x562&c=2w&s=e0efd5864ab1b7e41b8c7f5e0912f84b404ca30a53df8461106b377c19a24a21
---

---
![hqCsB9.png](https://z3.ax1x.com/2021/09/09/hqCsB9.png)


The goal of Antarctica is evolving to an elegant and feature-rich theme across platforms.


[Live demo](https://sdtelectronics.github.io/jekyll-theme-antarctica/)

## Features
* Fully responsive layout achieves best visual on different screens
* Flexible widgets provide extensible functionality
* Integrated [NerdFonts](www.nerdfonts.com) with 3000+ icons
* Automatic sitemap generation with [Jekyll Sitemap](https://github.com/jekyll/jekyll-sitemap)
* Configuration-free search engine optimization with [Jekyll Seo Tag](https://github.com/jekyll/jekyll-seo-tag)
* Reduced JavaScript usage to accelerate loading. No external js file for main frame (Some widgets require external JavaScript).

## Installation
There are three ways to install:
* If you are hosting the site by yourself, you may prefer to [install as a gem-based theme](https://jekyllrb.com/docs/themes/#installing-a-theme)
* If you are hosting the site on Github pages, you can [install as a remote theme](https://github.blog/2017-11-29-use-any-theme-with-github-pages/)
* You can also fork the master branch of this repository

## Customization
Customizable options are under [_config.yml](_config.yml). Coments inside will help you to edit them.

## Roadmap

| Feature | Planned Version |
Expand Down

0 comments on commit 39d048c

Please sign in to comment.