better stylings for markdown
This commit is contained in:
parent
4bd1caa7fd
commit
6daafbd5a8
1 changed files with 5 additions and 9 deletions
|
|
@ -21,12 +21,6 @@ $red : rgb(246, 68, 60);
|
||||||
$turquoise : rgb(8, 224, 173);
|
$turquoise : rgb(8, 224, 173);
|
||||||
$sand : rgb(245, 239, 237);
|
$sand : rgb(245, 239, 237);
|
||||||
|
|
||||||
@mixin tall() {
|
|
||||||
height : $two-row-height + px;
|
|
||||||
min-height : $two-row-height + px;
|
|
||||||
max-height : $two-row-height + px;
|
|
||||||
}
|
|
||||||
|
|
||||||
@mixin wide() {
|
@mixin wide() {
|
||||||
width : $two-column-width + px;
|
width : $two-column-width + px;
|
||||||
min-width : $two-column-width + px;
|
min-width : $two-column-width + px;
|
||||||
|
|
@ -153,6 +147,7 @@ body {
|
||||||
|
|
||||||
img {
|
img {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
|
width: 100%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -160,7 +155,7 @@ body {
|
||||||
.content{
|
.content{
|
||||||
min-height : $column-width + px;
|
min-height : $column-width + px;
|
||||||
.text-content {
|
.text-content {
|
||||||
margin: 20px;
|
margin: 20px 20px 30px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -230,9 +225,10 @@ body {
|
||||||
|
|
||||||
/* larger declarations */
|
/* larger declarations */
|
||||||
&.x2.width .content { @include wide(); }
|
&.x2.width .content { @include wide(); }
|
||||||
&.sticky-note.x2.height .content { @include tall(); }
|
|
||||||
|
|
||||||
|
|
||||||
|
&.sticky-note.x2.height .content {
|
||||||
|
min-height : $two-row-height + px;
|
||||||
|
}
|
||||||
|
|
||||||
&.rich-media {
|
&.rich-media {
|
||||||
width: auto;
|
width: auto;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue