-
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.
* pure css * remove dependency to stylus * TODO: make variable work
- Loading branch information
Showing
15 changed files
with
411 additions
and
326 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 |
---|---|---|
|
@@ -36,3 +36,4 @@ jspm_packages | |
# Optional REPL history | ||
.node_repl_history | ||
*.bak | ||
package-lock.json |
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 |
---|---|---|
@@ -0,0 +1,33 @@ | ||
.bg-1{ | ||
background: var(--gradient-color-1); | ||
background: linear-gradient(to right, var(--gradient-color-1) 0%, var(--gradient-color-2) 100%) | ||
} | ||
|
||
.hover-b-mc{ | ||
transition: all 0.3s cubic-bezier(.25,.8,.25,1); | ||
&:hover{ | ||
border-color: var(--main-color) | ||
} | ||
} | ||
@media print{ | ||
nav, footer, .comment{ | ||
display: none !important | ||
} | ||
@page{ | ||
margin: 0 | ||
} | ||
body{ | ||
margin: 1cm | ||
} | ||
} | ||
/* emoji / ascii icons */ | ||
.ec{ | ||
-moz-osx-font-smoothing: grayscale; | ||
filter: sepia(90%); | ||
|
||
&.ec-mono{ | ||
color: transparent; | ||
text-shadow: 0 0 0 var(--main-color); | ||
filter: none | ||
} | ||
} |
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,169 @@ | ||
/* Base */ | ||
|
||
.post-content>*:first-child { | ||
margin-top: 0; | ||
} | ||
|
||
/* Links */ | ||
a { | ||
text-decoration: none | ||
} | ||
|
||
/* Typography */ | ||
.content { | ||
a { | ||
color: var(--main-color) | ||
} | ||
|
||
h1, | ||
h2, | ||
h3, | ||
h4, | ||
h5, | ||
h6 { | ||
margin: 24px 0 16px 0; | ||
font-weight: 600; | ||
line-height: 1.25 | ||
} | ||
|
||
h1 { | ||
padding-bottom: 0.3em; | ||
font-size: 2em; | ||
border-bottom: 1px solid #eee | ||
} | ||
|
||
h2 { | ||
padding-bottom: 0.3em; | ||
font-size: 1.5em; | ||
border-bottom: 1px solid #eee | ||
} | ||
|
||
h3 { | ||
font-size: 1.25em | ||
} | ||
|
||
h4 { | ||
font-size: 1em | ||
} | ||
|
||
h5 { | ||
font-size: 0.875em | ||
} | ||
|
||
h6 { | ||
font-size: 0.85em; | ||
color: #777 | ||
} | ||
|
||
hr { | ||
border: 0; | ||
height: 1px; | ||
background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0)); | ||
} | ||
|
||
blockquote { | ||
background: #f9f9f9; | ||
border-left: 10px solid #ccc; | ||
margin: 2em 10px; | ||
padding: 1em 15px; | ||
|
||
p { | ||
display: inline | ||
} | ||
|
||
footer { | ||
text-align: right; | ||
padding: 20px 10px 10px 10px; | ||
overflow: auto; | ||
|
||
strong { | ||
&:before { | ||
content: "-"; | ||
padding-right: 10px | ||
} | ||
} | ||
|
||
cite { | ||
padding: 10px; | ||
} | ||
} | ||
} | ||
|
||
.pullquote { | ||
float: right; | ||
border: none; | ||
padding: 0; | ||
margin: 1em 0 1em 1.5em; | ||
text-align: left; | ||
width: 45%; | ||
background: none; | ||
font-size: 2em; | ||
font-style: italic; | ||
|
||
&.left { | ||
float: left; | ||
margin: 1em 1.5em 1em 0 | ||
} | ||
} | ||
|
||
dl { | ||
dt { | ||
font-weight: bold | ||
} | ||
} | ||
|
||
ul { | ||
li { | ||
list-style-type: square | ||
} | ||
} | ||
|
||
table { | ||
width: 100%; | ||
border-collapse: collapse; | ||
|
||
th { | ||
font-weight: normal; | ||
text-align: left; | ||
background-color: #F7F7F7; | ||
padding: 0.4em; | ||
} | ||
|
||
td { | ||
padding: 0.4em | ||
} | ||
|
||
tr { | ||
&:not(:last-child) { | ||
td { | ||
border-bottom: 1px solid #EEE | ||
} | ||
} | ||
} | ||
} | ||
} | ||
|
||
/* Media */ | ||
.post-content { | ||
img { | ||
display: block | ||
} | ||
|
||
.video-container { | ||
position: relative; | ||
padding-top: 56.25%; | ||
height: 0; | ||
overflow: hidden; | ||
|
||
iframe, | ||
object, | ||
embed { | ||
position: absolute; | ||
top: 0; | ||
left: 0; | ||
width: 100%; | ||
height: 100%; | ||
margin-top: 0; | ||
} | ||
} | ||
} |
Oops, something went wrong.