Skip to content

Commit

Permalink
chore: update comments
Browse files Browse the repository at this point in the history
  • Loading branch information
sparanoid committed May 16, 2016
1 parent 3dc2803 commit 5ad4095
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 8 deletions.
3 changes: 2 additions & 1 deletion _app/assets/_less/user.less
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
// User custom styles

// Alternative title size
// By default all heading levels have the same font size, but many people may not like this, so here's an alternative font size stack:
// By default all heading levels have the same font size, but many people may
// not like this, so here's an alternative font size stack:
.content {
h2 { font-size: 108%; opacity: .8; }
h3 { font-size: 96%; opacity: .7; }
Expand Down
3 changes: 2 additions & 1 deletion _app/assets/themes/curtana/_less/colors.less
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
// @text-color: #000;

// Alternative title color switch
// Uncomment the following style will enalbe alternative post title color, this is useful when you're using the custom theme from above.
// Uncomment the following style will enalbe alternative post title color,
// this is useful when you're using the custom theme from above.
// .content { .list h2 a, header h1, header h1 a { color: @link-color; } }
// .external span { background: @link-color; }
14 changes: 9 additions & 5 deletions _app/assets/themes/curtana/_less/common.less
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,8 @@ body:hover .latest {
header {
display: flex;
min-height: calc(100vh - ((@nav-padding * 4)) - 5ex);
// Additional padding for content inside `header` are higher than `header` container
// Additional padding for content inside `header` are higher than `header`
// container
padding-top: 10vmin;
padding-bottom: 10vmin;
margin-bottom: 16vmin;
Expand Down Expand Up @@ -200,7 +201,8 @@ body:hover .latest {
margin: 1.2vmin 0 0;
}

// Hide actual text if post title is image or SVG, the actual text helps Safari get the real post title in Reader mode.
// Hide actual text if post title is image or SVG, the actual text helps
// Safari get the real post title in Reader mode.
.image-title {
text-indent: -999999px;
line-height: 0;
Expand Down Expand Up @@ -316,8 +318,9 @@ body:hover .latest {
padding-left: @space-xs;
border-left: @border-default solid;
// TODO: Need better solution
// We will reset the common margin-bototm to get gapless borders for blockquotes
// This could help fix https://github.com/amsf/amsf-curtana/issues/4
// We will reset the common margin-bototm to get gapless borders for
// blockquotes. This could help fix
// https://github.com/amsf/amsf-curtana/issues/4
padding-bottom: 1.6rem;
// Now reset default margin button from global define
margin-bottom: 0;
Expand Down Expand Up @@ -539,7 +542,8 @@ body:hover .latest {
}
}

// Fix empty space when a paragraph starts with quote marks and some asian punctuation marks
// Fix empty space when a paragraph starts with quote marks and some asian
// punctuation marks, class names are powered by `grunt-leading-quotes`
.leading-indent-fix {

& { text-indent: -.39em; }
Expand Down
3 changes: 2 additions & 1 deletion _app/assets/themes/curtana/_less/reset.less
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ html {
text-size-adjust: none;
text-rendering: optimizelegibility;
image-rendering: optimizequality;
// TODO: You have to speicify background color for `html` in order to make `-webkit-filter` work
// TODO: You have to speicify background color for `html` in order to
// make `-webkit-filter` work
// Link: https://bugs.chromium.org/p/chromium/issues/detail?id=591015
// Date: Mar 1, 2016, 5:41 PM
background: @background-color;
Expand Down

0 comments on commit 5ad4095

Please sign in to comment.