Skip to content

Commit

Permalink
feat(styles): brand new spliter for hr and .footnotes
Browse files Browse the repository at this point in the history
  • Loading branch information
sparanoid committed Dec 11, 2015
1 parent f454547 commit d3a4864
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 20 deletions.
2 changes: 2 additions & 0 deletions _app/_posts/note/2014-06-05-markup-example.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ You have no idea how pretty suss our same same but different toasted sandwiches

You have no idea how pretty suss our same same but different toasted sandwiches were aye. Every time I see those carked it keas it's like the dairy all over again aye, you don't know his story, bro. Anyway, Hairy Maclary from Donaldson's Dairy is just Mrs Falani in disguise, to find the true meaning of life, one must start frying up with the hangi, mate. After the rugby ball is jumped the ditch, you add all the stink girl guide biscuits to the trotie you've got yourself a meal.

---

He was alone then; when he sat in that same chair his wife now sits in, and I shared with him the positive result to his HIV test. Though he seemed disinterested, vaguely detached, he had obviously heard of HIV before. His chart from the local clinic indicated a previous history of and treatment for anal gonorrhea, two acute cases of syphilis in the past three years, and a urinary tract infection last month. His only listed sexual contact, his wife. Who, strangely enough, only tested positive for one of the syphilis infections.

“Mistake, this! I am married, not a giver of ass.”
Expand Down
54 changes: 34 additions & 20 deletions _app/assets/themes/curtana/_less/app.less
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
// Invert color switcher for images and videos
// :root { filter: invert(100%); }

// Essential mixins
// http://nicolasgallagher.com/micro-clearfix-hack/
.cf {

Expand All @@ -37,6 +38,35 @@
}
}

.heading {
font-size: 330%;
-webkit-font-smoothing: antialiased;
font-weight: bold;
letter-spacing: -.06em;
}

.sub-heading {
font-size: 72%;
font-weight: normal;
opacity: .5;
}

.spliter {
@size: 4px;
@color: @text-color;

&::before {
display: block;
content: '';
width: @size;
height: @size;
margin: 2em auto;
border-radius: 50%;
background: @color;
box-shadow: (@size * 5) 0 0 0 @color, (@size * -5) 0 0 0 @color;
}
}

// Basic reset
*,
*:before,
Expand Down Expand Up @@ -94,20 +124,6 @@ body {
}
}

// Essential mixins
.heading {
font-size: 330%;
-webkit-font-smoothing: antialiased;
font-weight: bold;
letter-spacing: -.06em;
}

.sub-heading {
font-size: 72%;
font-weight: normal;
opacity: .5;
}

// Reset fonts for relevant elements
input,
button,
Expand Down Expand Up @@ -473,9 +489,7 @@ body:hover .latest {
}

hr {
border-top: 1px solid fade(#ccc, 20%);
margin-top: 2em;
margin-bottom: 2em;
.spliter;
}

sup {
Expand Down Expand Up @@ -682,9 +696,7 @@ body:hover .latest {

// Reference notes and links in post
.footnotes {
border-top: 1px solid fade(#ccc, 20%);
padding-top: 2em;
margin-top: 2em;
.spliter;
font-size: 80%;
}

Expand All @@ -693,6 +705,7 @@ body:hover .latest {
// Redcarpet-style
[rev=footnote],
[rel=footnote],

// Kramdown-style
.reversefootnote,
.footnote {
Expand Down Expand Up @@ -728,6 +741,7 @@ body:hover .latest {
}
}

// A dot symbol for external links
.external {

.dot {
Expand Down

0 comments on commit d3a4864

Please sign in to comment.