forked from poole/hyde
-
Notifications
You must be signed in to change notification settings - Fork 805
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Split styles in essential and non-essential
- Loading branch information
Showing
33 changed files
with
318 additions
and
370 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,37 @@ | ||
@import "poole/variables"; | ||
|
||
@import "poole/base"; | ||
@import "poole/type"; | ||
@import "poole/code"; | ||
@import "poole/layout"; | ||
@import "poole/posts"; | ||
@import "poole/related"; | ||
@import "poole/message"; | ||
|
||
@import "hydejack/globals"; | ||
@import "hydejack/sidebar"; | ||
|
||
|
||
|
||
|
||
|
||
@import "pooleparty/variables"; | ||
|
||
@import "pooleparty/base"; | ||
@import "pooleparty/type-essential"; | ||
// @import "pooleparty/type"; | ||
// @import "pooleparty/table"; | ||
// @import "pooleparty/footnotes"; | ||
// @import "pooleparty/code"; | ||
@import "pooleparty/layout"; | ||
// @import "pooleparty/footer"; | ||
// @import "pooleparty/masthead"; | ||
@import "pooleparty/posts-essential"; | ||
// @import "pooleparty/posts"; | ||
// @import "pooleparty/pagination"; | ||
@import "pooleparty/related-essential"; | ||
// @import "pooleparty/related"; | ||
@import "pooleparty/message"; | ||
|
||
@import "hydejack/base-essential"; | ||
// @import "hydejack/base"; | ||
@import "hydejack/sidebar-essential"; | ||
// @import "hydejack/sidebar"; | ||
// @import "hydejack/aside"; | ||
// @import "hydejack/drawer"; | ||
// @import "hydejack/social"; | ||
@import "hydejack/menu"; | ||
@import "hydejack/content"; | ||
@import "hydejack/me"; | ||
@import "hydejack/me-essential"; | ||
// @import "hydejack/me"; | ||
// @import "hydejack/katex"; | ||
|
||
// @import "jekyll-github"; |
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
/* | ||
* Global resets | ||
* | ||
* Update the foundational and global aspects of the page. | ||
*/ | ||
@media (min-width: 48em) { | ||
html { | ||
font-size: 16px; | ||
} | ||
} | ||
@media (min-width: 58em) { | ||
html { | ||
font-size: 18px; | ||
} | ||
} | ||
|
||
.sr-only { | ||
// will be properly styled in the non-essential part | ||
display: none; | ||
} |
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
.me { | ||
float: right; | ||
} |
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 |
---|---|---|
|
@@ -5,7 +5,6 @@ | |
border-radius: 100%; | ||
position: relative; | ||
z-index: 2; | ||
float: right; | ||
} | ||
@media (min-width: 38em) { | ||
.me { | ||
|
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 |
---|---|---|
@@ -0,0 +1,67 @@ | ||
/* | ||
* Sidebar | ||
* | ||
* Flexible banner for housing site name, intro, and "footer" content. Starts | ||
* out above content in mobile and later moves to the side with wider viewports. | ||
*/ | ||
|
||
.backdrop { | ||
display: none; | ||
} | ||
|
||
.sidebar { | ||
position: relative; | ||
z-index: 4; | ||
padding: 2rem 1rem; | ||
color: rgba(255,255,255,.75); | ||
background-color: #202020; | ||
text-align: left; | ||
min-height: 100vh; | ||
background-size: cover; | ||
background-position: center center; | ||
|
||
/* Sidebar links */ | ||
a { | ||
color: #fff; | ||
} | ||
|
||
ul { | ||
list-style: none; | ||
padding-left: 0; | ||
} | ||
} | ||
|
||
.sidebar-sticky { | ||
position: absolute; | ||
right: 1rem; | ||
bottom: 1rem; | ||
left: 1rem; | ||
} | ||
|
||
/* About section */ | ||
.sidebar-about > h1 { | ||
color: #fff; | ||
font-size: 2rem; | ||
} | ||
|
||
.sidebar-nav-item { | ||
font-weight: bold; | ||
display: block; | ||
line-height: 1.75; | ||
padding: .25rem .1rem; | ||
border-top: 1px solid rgba(255, 255, 255, 0.23); | ||
} | ||
|
||
.sidebar-social > ul { | ||
min-height: 3.5rem; | ||
} | ||
|
||
@media (min-width: 48em) { | ||
.sidebar { | ||
position: fixed; | ||
top: 0; | ||
left: 0; | ||
bottom: 0; | ||
width: 18rem; | ||
} | ||
} |
Oops, something went wrong.