forked from alex-shpak/hugo-book
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
12d472b
commit 925b0d2
Showing
8 changed files
with
141 additions
and
120 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,110 +1,114 @@ | ||
.flex { | ||
display: flex; | ||
} | ||
|
||
.flex-auto { | ||
flex: 1 1 auto; | ||
} | ||
|
||
.flex-even { | ||
flex: 1 1; | ||
} | ||
|
||
.flex-wrap { | ||
flex-wrap: wrap; | ||
} | ||
|
||
.justify-start { | ||
justify-content: flex-start; | ||
} | ||
|
||
.justify-end { | ||
justify-content: flex-end; | ||
} | ||
|
||
.justify-center { | ||
justify-content: center; | ||
} | ||
|
||
.justify-between { | ||
justify-content: space-between; | ||
} | ||
|
||
.align-center { | ||
align-items: center; | ||
} | ||
|
||
.mx-auto { | ||
margin: 0 auto; | ||
} | ||
|
||
.text-center { | ||
text-align: center; | ||
} | ||
|
||
.text-left { | ||
text-align: left; | ||
} | ||
|
||
.text-right { | ||
text-align: right; | ||
} | ||
|
||
.float-right{ | ||
float: right; | ||
margin-left: auto; | ||
} | ||
|
||
.float-left{ | ||
float: left; | ||
margin-right: auto; | ||
} | ||
|
||
|
||
.hidden { | ||
display: none; | ||
} | ||
|
||
.ellipsis{ | ||
overflow: hidden; | ||
white-space: nowrap; | ||
text-overflow: ellipsis; | ||
} | ||
|
||
|
||
input.toggle { | ||
height: 0; | ||
width: 0; | ||
overflow: hidden; | ||
opacity: 0; | ||
position: absolute; | ||
} | ||
|
||
.clearfix::after { | ||
content: ""; | ||
display: table; | ||
clear: both; | ||
} | ||
|
||
@mixin spin($duration) { | ||
animation: spin $duration ease infinite; | ||
@keyframes spin { | ||
100% { | ||
transform: rotate(360deg); | ||
} | ||
} | ||
} | ||
|
||
@mixin fixed { | ||
position: fixed; | ||
top: 0; | ||
bottom: 0; | ||
overflow-x: hidden; | ||
overflow-y: auto; | ||
} | ||
|
||
@mixin outline { | ||
outline-style: auto; | ||
outline-color: currentColor; | ||
outline-color: -webkit-focus-ring-color; | ||
} | ||
.flex { | ||
display: flex; | ||
} | ||
|
||
.flex-auto { | ||
flex: 1 1 auto; | ||
} | ||
|
||
.flex-even { | ||
flex: 1 1; | ||
} | ||
|
||
.flex-wrap { | ||
flex-wrap: wrap; | ||
} | ||
|
||
.justify-start { | ||
justify-content: flex-start; | ||
} | ||
|
||
.justify-end { | ||
justify-content: flex-end; | ||
} | ||
|
||
.justify-center { | ||
justify-content: center; | ||
} | ||
|
||
.justify-between { | ||
justify-content: space-between; | ||
} | ||
|
||
.flex-direction{ | ||
flex-direction: column; | ||
} | ||
|
||
.align-center { | ||
align-items: center; | ||
} | ||
|
||
.mx-auto { | ||
margin: 0 auto; | ||
} | ||
|
||
.text-center { | ||
text-align: center; | ||
} | ||
|
||
.text-left { | ||
text-align: left; | ||
} | ||
|
||
.text-right { | ||
text-align: right; | ||
} | ||
|
||
.float-right{ | ||
float: right; | ||
margin-left: auto; | ||
} | ||
|
||
.float-left{ | ||
float: left; | ||
margin-right: auto; | ||
} | ||
|
||
|
||
.hidden { | ||
display: none; | ||
} | ||
|
||
.ellipsis{ | ||
overflow: hidden; | ||
white-space: nowrap; | ||
text-overflow: ellipsis; | ||
} | ||
|
||
|
||
input.toggle { | ||
height: 0; | ||
width: 0; | ||
overflow: hidden; | ||
opacity: 0; | ||
position: absolute; | ||
} | ||
|
||
.clearfix::after { | ||
content: ""; | ||
display: table; | ||
clear: both; | ||
} | ||
|
||
@mixin spin($duration) { | ||
animation: spin $duration ease infinite; | ||
@keyframes spin { | ||
100% { | ||
transform: rotate(360deg); | ||
} | ||
} | ||
} | ||
|
||
@mixin fixed { | ||
position: fixed; | ||
top: 0; | ||
bottom: 0; | ||
overflow-x: hidden; | ||
overflow-y: auto; | ||
} | ||
|
||
@mixin outline { | ||
outline-style: auto; | ||
outline-color: currentColor; | ||
outline-color: -webkit-focus-ring-color; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,11 @@ | ||
<h2 class="book-brand"> | ||
<a class="flex align-center" href="{{ '' | absoluteUrl }}"> | ||
{% if site.icon %} | ||
<img src="{{ site.icon }}" alt="Logo" /> | ||
{% endif %} | ||
<span>{{ site.title }}</span> | ||
</a> | ||
</h2> | ||
<h2 class="book-brand" aria-label="{{ site.title }} | {{ site.description }}" > | ||
<a class="flex align-center" href="{{ '' | absoluteUrl }}" title="{{ site.title }} | {{ site.description }}"> | ||
{% if site.icon %} | ||
<img src="{{ site.icon }}" alt="Logo" /> | ||
{% endif %} | ||
<div class="flex flex-direction"> | ||
<span class="site-title">{{ site.title }}</span> | ||
<span class="site-description ellipsis">{{ site.description }}</span> | ||
</div> | ||
</a> | ||
</h2> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters