2019-07-22 08:38:38 +02:00
|
|
|
.markdown {
|
|
|
|
font-weight: 400;
|
|
|
|
font-size: 1rem;
|
|
|
|
line-height: 1.5;
|
|
|
|
overflow: auto;
|
|
|
|
|
2019-07-22 17:05:43 +02:00
|
|
|
h1[id],
|
|
|
|
h2[id],
|
|
|
|
h3[id],
|
|
|
|
h4[id] {
|
|
|
|
&::before {
|
|
|
|
display: block;
|
|
|
|
content: " ";
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
}
|
2019-07-22 08:38:38 +02:00
|
|
|
|
2019-07-22 17:05:43 +02:00
|
|
|
h2[id],
|
|
|
|
h3[id],
|
|
|
|
h4[id] {
|
|
|
|
&::before {
|
|
|
|
margin-top: -10px;
|
|
|
|
height: 10px;
|
|
|
|
}
|
|
|
|
}
|
2019-07-22 08:38:38 +02:00
|
|
|
|
2019-07-22 17:05:43 +02:00
|
|
|
h1 {
|
|
|
|
border-bottom: 1px solid hsl(0, 0%, 93%);
|
|
|
|
padding-bottom: 10px;
|
|
|
|
margin-bottom: 15px;
|
|
|
|
|
|
|
|
&[id] {
|
|
|
|
&::before {
|
|
|
|
margin-top: -30px;
|
|
|
|
height: 30px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&#using-zulip,
|
|
|
|
&#zulip-administration {
|
|
|
|
font-size: 1.75em;
|
|
|
|
padding: 10px 0;
|
2020-08-06 02:42:07 +02:00
|
|
|
margin-bottom: 0;
|
2019-07-22 17:05:43 +02:00
|
|
|
line-height: 100%;
|
|
|
|
}
|
|
|
|
}
|
2019-07-22 08:38:38 +02:00
|
|
|
|
2019-07-22 17:05:43 +02:00
|
|
|
h2 {
|
|
|
|
font-size: 1.5em;
|
|
|
|
line-height: 1.25;
|
2020-08-06 02:42:07 +02:00
|
|
|
margin: 20px 0 5px 0;
|
2019-07-22 17:05:43 +02:00
|
|
|
}
|
2019-07-22 08:38:38 +02:00
|
|
|
|
2019-07-22 17:05:43 +02:00
|
|
|
h3 {
|
|
|
|
font-size: 1.25em;
|
|
|
|
line-height: 1.25;
|
|
|
|
opacity: 1;
|
|
|
|
margin-bottom: 7px;
|
|
|
|
}
|
2019-07-22 08:38:38 +02:00
|
|
|
|
2019-07-22 17:05:43 +02:00
|
|
|
h1,
|
|
|
|
h2,
|
|
|
|
h3 {
|
|
|
|
font-weight: 700;
|
|
|
|
user-select: none;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
display: inline-block;
|
|
|
|
font: normal normal normal 16px/1 FontAwesome;
|
|
|
|
|
|
|
|
cursor: pointer;
|
|
|
|
content: "\f0c1";
|
|
|
|
margin-left: 5px;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-07-22 08:38:38 +02:00
|
|
|
|
2021-05-01 06:24:33 +02:00
|
|
|
/* Since markdown doesn't make it easy to put an HTML element around a
|
|
|
|
markdown table, we instead have a model of putting an empty div
|
|
|
|
before it to configure a specific table's styling. */
|
|
|
|
div.centered_table + table td:not(:first-child),
|
|
|
|
div.centered_table + table th {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2021-05-19 18:07:26 +02:00
|
|
|
.legend_symbol {
|
|
|
|
position: absolute;
|
|
|
|
left: calc(40px);
|
|
|
|
transform: translateX(-50%);
|
|
|
|
|
|
|
|
/* Adjust for 50px closed left sidebar state */
|
|
|
|
@media (width <= 800px) {
|
|
|
|
left: calc(5% + 50px);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.legend_label {
|
|
|
|
position: relative;
|
|
|
|
left: calc(30px);
|
|
|
|
}
|
|
|
|
|
2019-07-22 17:05:43 +02:00
|
|
|
ul,
|
|
|
|
ol {
|
|
|
|
margin-left: 30px;
|
|
|
|
}
|
2019-07-22 08:38:38 +02:00
|
|
|
|
2019-07-22 17:05:43 +02:00
|
|
|
li {
|
|
|
|
line-height: 150%;
|
|
|
|
}
|
2019-07-22 08:38:38 +02:00
|
|
|
|
2019-07-22 17:05:43 +02:00
|
|
|
ol {
|
|
|
|
counter-reset: item;
|
|
|
|
list-style: none;
|
|
|
|
|
|
|
|
& > li {
|
|
|
|
counter-increment: item;
|
|
|
|
margin-bottom: 5px;
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
content: counter(item);
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: top;
|
|
|
|
padding: 3px 6.5px 3px 7.5px;
|
|
|
|
margin-right: 5px;
|
|
|
|
background-color: hsl(170, 48%, 54%);
|
|
|
|
color: hsl(0, 0%, 100%);
|
|
|
|
border-radius: 100%;
|
|
|
|
font-size: 0.9em;
|
|
|
|
line-height: 1.1;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
& > p {
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: top;
|
2021-03-15 03:35:35 +01:00
|
|
|
/* This needs to be wide enough for 2-digit numbers. */
|
|
|
|
max-width: calc(100% - 40px);
|
2019-07-22 17:05:43 +02:00
|
|
|
position: relative;
|
|
|
|
top: -2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
& > .codehilite,
|
|
|
|
& > p:not(:first-child) {
|
|
|
|
padding-left: 24px;
|
|
|
|
margin-left: 5px;
|
|
|
|
}
|
|
|
|
|
2019-07-22 22:50:15 +02:00
|
|
|
.codehilite {
|
|
|
|
background-color: hsl(0, 0%, 100%);
|
|
|
|
}
|
|
|
|
|
2019-07-22 17:05:43 +02:00
|
|
|
& > ul {
|
|
|
|
padding-left: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.warn,
|
|
|
|
.tip,
|
|
|
|
.keyboard_tip {
|
|
|
|
margin: 5px 25px 5px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
|
|
|
margin: 0 0 2px;
|
|
|
|
}
|
|
|
|
|
2021-02-04 02:49:05 +01:00
|
|
|
@media (width <= 500px) {
|
2020-08-06 02:42:07 +02:00
|
|
|
margin-left: 0;
|
2019-07-22 17:05:43 +02:00
|
|
|
}
|
|
|
|
}
|
2019-07-22 08:38:38 +02:00
|
|
|
|
2019-07-22 17:05:43 +02:00
|
|
|
ul {
|
2020-08-06 02:42:07 +02:00
|
|
|
margin: 0 10px 15px 25px;
|
2019-07-22 08:38:38 +02:00
|
|
|
|
2019-07-22 17:05:43 +02:00
|
|
|
& > li {
|
2020-08-06 02:42:07 +02:00
|
|
|
margin: 5px 0;
|
2019-07-22 08:38:38 +02:00
|
|
|
|
2019-07-22 17:05:43 +02:00
|
|
|
::before {
|
|
|
|
content: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-07-22 08:38:38 +02:00
|
|
|
|
2019-07-22 17:05:43 +02:00
|
|
|
.content {
|
|
|
|
padding: 30px;
|
|
|
|
max-width: 768px;
|
|
|
|
background-color: hsl(0, 0%, 100%);
|
2019-07-22 08:38:38 +02:00
|
|
|
|
2019-07-22 17:05:43 +02:00
|
|
|
ol li p:not(:first-child) {
|
|
|
|
display: block;
|
|
|
|
}
|
2019-07-22 08:38:38 +02:00
|
|
|
|
2020-06-16 07:35:44 +02:00
|
|
|
i.zulip-icon {
|
2020-08-06 02:42:07 +02:00
|
|
|
margin: 0 2px 2px 2px;
|
2020-06-16 07:35:44 +02:00
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
2021-02-04 02:49:05 +01:00
|
|
|
@media (width <= 500px) {
|
2019-07-22 17:05:43 +02:00
|
|
|
padding: 10px;
|
|
|
|
}
|
|
|
|
}
|
2019-07-22 08:38:38 +02:00
|
|
|
|
2019-07-22 17:05:43 +02:00
|
|
|
a {
|
|
|
|
color: hsl(176, 46%, 41%);
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
2019-07-22 08:38:38 +02:00
|
|
|
|
2019-07-22 17:05:43 +02:00
|
|
|
strong {
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
2019-07-22 08:38:38 +02:00
|
|
|
|
2019-07-22 17:05:43 +02:00
|
|
|
img {
|
|
|
|
vertical-align: top;
|
2020-08-06 02:42:07 +02:00
|
|
|
box-shadow: 0 0 4px hsla(0, 0%, 0%, 0.05);
|
2019-07-22 17:05:43 +02:00
|
|
|
border: 1px solid hsl(0, 0%, 87%);
|
|
|
|
border-radius: 4px;
|
|
|
|
|
|
|
|
&.inline {
|
|
|
|
height: 1.4em;
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.emoji-small {
|
|
|
|
width: 20px;
|
|
|
|
box-shadow: none;
|
|
|
|
border: none;
|
|
|
|
vertical-align: sub;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.emoji-big {
|
|
|
|
width: 25px;
|
|
|
|
box-shadow: none;
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
}
|
2019-07-22 08:38:38 +02:00
|
|
|
|
2019-07-22 17:05:43 +02:00
|
|
|
.warn,
|
|
|
|
.tip,
|
|
|
|
.keyboard_tip {
|
|
|
|
position: relative;
|
2019-07-22 08:38:38 +02:00
|
|
|
display: block;
|
2019-07-22 17:05:43 +02:00
|
|
|
background-color: hsl(210, 22%, 96%);
|
|
|
|
border: 1px solid hsl(210, 22%, 90%);
|
|
|
|
border-radius: 4px;
|
|
|
|
padding: 10px;
|
2020-08-06 02:42:07 +02:00
|
|
|
margin: 5px 0;
|
2019-07-22 08:38:38 +02:00
|
|
|
|
2019-07-22 17:05:43 +02:00
|
|
|
p {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
2019-08-04 05:17:12 +02:00
|
|
|
|
|
|
|
p:first-of-type {
|
|
|
|
display: inline;
|
|
|
|
}
|
2019-07-22 17:05:43 +02:00
|
|
|
}
|
2019-07-22 08:38:38 +02:00
|
|
|
|
2019-07-22 17:05:43 +02:00
|
|
|
.tip,
|
|
|
|
.keyboard_tip {
|
|
|
|
background-color: hsl(46, 63%, 95%);
|
|
|
|
border: 1px solid hsl(46, 63%, 84%);
|
|
|
|
}
|
2019-07-22 08:38:38 +02:00
|
|
|
|
2019-07-22 17:05:43 +02:00
|
|
|
.tip::before {
|
|
|
|
display: inline;
|
|
|
|
content: "\f0eb Tip: ";
|
2021-04-03 03:37:00 +02:00
|
|
|
font-family: FontAwesome, "Source Sans 3", sans-serif;
|
2019-07-22 17:05:43 +02:00
|
|
|
font-weight: 600;
|
|
|
|
}
|
2019-07-22 08:38:38 +02:00
|
|
|
|
2019-07-22 17:05:43 +02:00
|
|
|
.keyboard_tip::before {
|
|
|
|
display: inline;
|
2021-05-10 07:02:14 +02:00
|
|
|
content: "\f11c Keyboard shortcut: ";
|
2021-04-03 03:37:00 +02:00
|
|
|
font-family: FontAwesome, "Source Sans 3", sans-serif;
|
2019-07-22 17:05:43 +02:00
|
|
|
font-weight: 600;
|
|
|
|
}
|
2019-07-22 08:38:38 +02:00
|
|
|
|
2019-07-22 17:05:43 +02:00
|
|
|
.indicator {
|
|
|
|
position: relative;
|
|
|
|
display: inline-block;
|
|
|
|
top: 1px;
|
|
|
|
padding: 5px;
|
|
|
|
border-radius: 6px;
|
|
|
|
|
|
|
|
&.grey {
|
|
|
|
border: 1px solid hsl(0, 0%, 80%);
|
|
|
|
}
|
|
|
|
|
|
|
|
&.grey-line {
|
|
|
|
border: 1px solid hsl(0, 0%, 80%);
|
|
|
|
top: 2px;
|
|
|
|
|
|
|
|
&::after {
|
2020-08-04 23:58:56 +02:00
|
|
|
content: "";
|
2019-07-22 17:05:43 +02:00
|
|
|
background: hsl(0, 0%, 80%);
|
|
|
|
height: 1.5px;
|
|
|
|
width: 6px;
|
|
|
|
display: block;
|
2020-08-04 23:58:56 +02:00
|
|
|
margin: 0.5px -2px;
|
2019-07-22 17:05:43 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.orange {
|
|
|
|
border: 1px solid hsl(29, 84%, 51%);
|
2020-08-04 23:58:56 +02:00
|
|
|
background: linear-gradient(
|
|
|
|
to bottom,
|
|
|
|
hsla(0, 0%, 100%, 0) 50%,
|
|
|
|
hsla(29, 84%, 51%, 1) 50%
|
|
|
|
);
|
2019-07-22 17:05:43 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&.green {
|
|
|
|
border: 1px solid hsl(106, 74%, 44%);
|
|
|
|
background-color: hsla(106, 74%, 44%, 0.3);
|
|
|
|
}
|
|
|
|
|
|
|
|
&.green.solid {
|
|
|
|
background-color: hsl(106, 74%, 44%);
|
|
|
|
}
|
|
|
|
}
|
2019-07-22 08:38:38 +02:00
|
|
|
|
2020-03-27 05:03:26 +01:00
|
|
|
code {
|
2020-09-15 22:23:01 +02:00
|
|
|
/* Copied from rendered_markdown.css */
|
2021-04-07 20:48:51 +02:00
|
|
|
font-size: 0.825em;
|
2020-03-27 05:03:26 +01:00
|
|
|
unicode-bidi: embed;
|
|
|
|
direction: ltr;
|
2020-06-19 07:12:36 +02:00
|
|
|
white-space: initial;
|
2020-08-06 02:42:07 +02:00
|
|
|
padding: 0;
|
2020-05-17 12:30:14 +02:00
|
|
|
padding-right: 4px;
|
2020-03-27 05:03:26 +01:00
|
|
|
background-color: hsl(0, 0%, 100%);
|
|
|
|
}
|
|
|
|
|
2020-05-17 12:30:14 +02:00
|
|
|
pre {
|
2020-06-19 07:12:36 +02:00
|
|
|
code {
|
2020-12-11 21:37:46 +01:00
|
|
|
font-size: 14px;
|
2020-06-19 07:12:36 +02:00
|
|
|
white-space: pre-wrap;
|
2021-02-24 06:09:26 +01:00
|
|
|
padding: 0;
|
2020-06-19 07:12:36 +02:00
|
|
|
}
|
2020-05-17 12:30:14 +02:00
|
|
|
}
|
|
|
|
|
2019-07-22 22:50:15 +02:00
|
|
|
.code-section {
|
|
|
|
ol {
|
|
|
|
margin-left: 15px;
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
|
|
|
ul.nav {
|
|
|
|
margin: 0;
|
|
|
|
|
|
|
|
li {
|
|
|
|
display: inline-block;
|
|
|
|
padding: 5px 14px;
|
|
|
|
margin: 0;
|
|
|
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
&.active {
|
|
|
|
color: hsl(176, 46%, 41%);
|
|
|
|
margin-bottom: -1px;
|
|
|
|
|
|
|
|
border: 1px solid hsl(0, 0%, 87%);
|
|
|
|
border-bottom: 1px solid hsl(0, 0%, 100%);
|
2020-08-06 02:42:07 +02:00
|
|
|
border-radius: 4px 4px 0 0;
|
2019-07-22 22:50:15 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.no-tabs ul.nav {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.blocks {
|
|
|
|
padding: 10px;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
border: 1px solid hsl(0, 0%, 87%);
|
|
|
|
|
|
|
|
& > div {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.has-tabs .blocks {
|
2020-08-06 02:42:07 +02:00
|
|
|
border-radius: 0 6px 6px 6px;
|
2019-07-22 22:50:15 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&.no-tabs .blocks {
|
|
|
|
border-radius: 6px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.no-tabs .blocks > div,
|
|
|
|
&.has-tabs .blocks > .active {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
2019-07-22 08:38:38 +02:00
|
|
|
}
|