CSS for tags and fixed for code text size.
This commit is contained in:
parent
511cd74910
commit
c6473f72a1
2 changed files with 35 additions and 20 deletions
|
|
@ -50,7 +50,7 @@ article > header,
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
article,
|
article > .content,
|
||||||
aside {
|
aside {
|
||||||
ul {
|
ul {
|
||||||
@extend %ul-straight-left;
|
@extend %ul-straight-left;
|
||||||
|
|
@ -66,9 +66,6 @@ article {
|
||||||
& > header {
|
& > header {
|
||||||
color: color('grey');
|
color: color('grey');
|
||||||
|
|
||||||
.title-submitted {
|
|
||||||
margin-bottom: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
p {
|
p {
|
||||||
@include margin(.2 0);
|
@include margin(.2 0);
|
||||||
|
|
@ -76,9 +73,32 @@ article {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
pre,
|
.tags {
|
||||||
.codeblock {
|
ul {
|
||||||
@include type-layout(xs, .72);
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
ul,
|
||||||
|
li {
|
||||||
|
display: inline;
|
||||||
|
}
|
||||||
|
|
||||||
|
li {
|
||||||
|
list-style-type: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
@include padding-right(.2);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
code {
|
||||||
|
@include type-layout(s, 1);
|
||||||
|
word-wrap: break-word;
|
||||||
|
}
|
||||||
|
|
||||||
|
pre {
|
||||||
color: color(headings);
|
color: color(headings);
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
|
|
@ -87,22 +107,17 @@ article {
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
max-height: 250px;
|
max-height: 250px;
|
||||||
max-width: 550px;
|
max-width: 550px;
|
||||||
|
|
||||||
|
& > code {
|
||||||
|
display: inline-block;
|
||||||
|
white-space: pre;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
pre > code {
|
}
|
||||||
display: inline-block;
|
|
||||||
white-space: pre;
|
|
||||||
}
|
|
||||||
|
|
||||||
p > code {
|
.title-submitted {
|
||||||
@include type-layout(s, 1);
|
margin-bottom: 0;
|
||||||
word-wrap: break-word;
|
|
||||||
}
|
|
||||||
|
|
||||||
.codeblock {
|
|
||||||
@include margin(.75 0);
|
|
||||||
white-space: nowrap;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
figure {
|
figure {
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue