|
@@ -45,6 +45,7 @@
|
|
|
// style
|
|
// style
|
|
|
border-bottom: solid 1px transparent;
|
|
border-bottom: solid 1px transparent;
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
h2 {
|
|
h2 {
|
|
|
padding-bottom: 0.3em;
|
|
padding-bottom: 0.3em;
|
|
|
font-size: 1.6em;
|
|
font-size: 1.6em;
|
|
@@ -53,22 +54,26 @@
|
|
|
// style
|
|
// style
|
|
|
border-bottom: solid 1px transparent;
|
|
border-bottom: solid 1px transparent;
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
h3 {
|
|
h3 {
|
|
|
font-size: 1.4em;
|
|
font-size: 1.4em;
|
|
|
font-weight: bold;
|
|
font-weight: bold;
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
h4 {
|
|
h4 {
|
|
|
font-size: 1.35em;
|
|
font-size: 1.35em;
|
|
|
font-weight: normal;
|
|
font-weight: normal;
|
|
|
// style
|
|
// style
|
|
|
@include add-left-border(6px);
|
|
@include add-left-border(6px);
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
h5 {
|
|
h5 {
|
|
|
font-size: 1.25em;
|
|
font-size: 1.25em;
|
|
|
font-weight: normal;
|
|
font-weight: normal;
|
|
|
// style
|
|
// style
|
|
|
@include add-left-border(4px);
|
|
@include add-left-border(4px);
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
h6 {
|
|
h6 {
|
|
|
font-size: 1.2em;
|
|
font-size: 1.2em;
|
|
|
font-weight: normal;
|
|
font-weight: normal;
|
|
@@ -80,6 +85,7 @@
|
|
|
margin: 15px 0;
|
|
margin: 15px 0;
|
|
|
font-weight: normal;
|
|
font-weight: normal;
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
blockquote {
|
|
blockquote {
|
|
|
padding: 0 20px;
|
|
padding: 0 20px;
|
|
|
margin: 0 0 30px 0;
|
|
margin: 0 0 30px 0;
|
|
@@ -117,28 +123,35 @@
|
|
|
position: relative; // for absolute positioned .code-highlighted-title
|
|
position: relative; // for absolute positioned .code-highlighted-title
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- .task-list {
|
|
|
|
|
|
|
+ .contains-task-list {
|
|
|
.task-list-item {
|
|
.task-list-item {
|
|
|
margin: 0 0.2em 0.25em -1.6em;
|
|
margin: 0 0.2em 0.25em -1.6em;
|
|
|
list-style-type: none;
|
|
list-style-type: none;
|
|
|
}
|
|
}
|
|
|
- .task-list-item > .task-list {
|
|
|
|
|
|
|
+
|
|
|
|
|
+ .task-list-item > .contains-task-list {
|
|
|
margin-left: 30px;
|
|
margin-left: 30px;
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
// use awesome-bootstrap-checkbox
|
|
// use awesome-bootstrap-checkbox
|
|
|
.task-list-item .checkbox input[type='checkbox'] {
|
|
.task-list-item .checkbox input[type='checkbox'] {
|
|
|
|
|
+
|
|
|
// layout
|
|
// layout
|
|
|
- + label {
|
|
|
|
|
|
|
+ +label {
|
|
|
padding-left: 0.3em;
|
|
padding-left: 0.3em;
|
|
|
|
|
+
|
|
|
&:before {
|
|
&:before {
|
|
|
margin-top: 0.4em;
|
|
margin-top: 0.4em;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
// styles
|
|
// styles
|
|
|
cursor: default;
|
|
cursor: default;
|
|
|
- + label {
|
|
|
|
|
|
|
+
|
|
|
|
|
+ +label {
|
|
|
cursor: default;
|
|
cursor: default;
|
|
|
opacity: 1;
|
|
opacity: 1;
|
|
|
|
|
+
|
|
|
&:before,
|
|
&:before,
|
|
|
&:after {
|
|
&:after {
|
|
|
cursor: default;
|
|
cursor: default;
|
|
@@ -148,6 +161,7 @@
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
$ratio: 0.95;
|
|
$ratio: 0.95;
|
|
|
|
|
+
|
|
|
&.comment {
|
|
&.comment {
|
|
|
font-size: 14px;
|
|
font-size: 14px;
|
|
|
line-height: 1.5em;
|
|
line-height: 1.5em;
|
|
@@ -172,11 +186,13 @@
|
|
|
font-size: 1.8em * $ratio;
|
|
font-size: 1.8em * $ratio;
|
|
|
line-height: 1.1em * $ratio;
|
|
line-height: 1.1em * $ratio;
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
h2 {
|
|
h2 {
|
|
|
padding-bottom: 0.5em * $ratio;
|
|
padding-bottom: 0.5em * $ratio;
|
|
|
font-size: 1.4em * $ratio;
|
|
font-size: 1.4em * $ratio;
|
|
|
line-height: 1.225 * $ratio;
|
|
line-height: 1.225 * $ratio;
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
h3 {
|
|
h3 {
|
|
|
font-size: 1.2em * $ratio;
|
|
font-size: 1.2em * $ratio;
|
|
|
}
|
|
}
|
|
@@ -192,6 +208,7 @@
|
|
|
|
|
|
|
|
li {
|
|
li {
|
|
|
line-height: bs.$line-height-base;
|
|
line-height: bs.$line-height-base;
|
|
|
|
|
+
|
|
|
pre {
|
|
pre {
|
|
|
line-height: bs.$line-height-base;
|
|
line-height: bs.$line-height-base;
|
|
|
}
|
|
}
|
|
@@ -199,6 +216,7 @@
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.revision-head {
|
|
.revision-head {
|
|
|
|
|
+
|
|
|
.revision-head-link,
|
|
.revision-head-link,
|
|
|
.revision-head-edit-button {
|
|
.revision-head-edit-button {
|
|
|
margin-left: 0.5em * $ratio;
|
|
margin-left: 0.5em * $ratio;
|
|
@@ -224,6 +242,7 @@
|
|
|
|
|
|
|
|
// mobile
|
|
// mobile
|
|
|
.page-mobile .wiki .revision-head {
|
|
.page-mobile .wiki .revision-head {
|
|
|
|
|
+
|
|
|
.revision-head-link,
|
|
.revision-head-link,
|
|
|
.revision-head-edit-button {
|
|
.revision-head-edit-button {
|
|
|
opacity: 0.3;
|
|
opacity: 0.3;
|