MATH201/resources/_gen/assets/scss/css/style.scss_f120a3f402b106f6...

602 lines
8.8 KiB
Plaintext
Raw Permalink Normal View History

2023-10-01 01:09:45 -06:00
@charset "UTF-8";
input {
margin: 0;
padding: 0;
border: 0;
font: inherit;
color: inherit;
font-size: 100%;
vertical-align: baseline; }
*:focus {
outline: none; }
textarea,
input[type="search"],
input[type="text"],
input[type="button"],
input[type="submit"] {
-webkit-appearance: none;
border-radius: 0; }
::selection {
background: var(--selected-text-background-color); }
/**
Bear base styles
(Retrieved from official app, all credits belong to Bear Team)
*/
2023-12-29 20:05:27 -07:00
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
2023-10-01 01:09:45 -06:00
margin: 0;
padding: 0;
border: 0;
font: inherit;
font-size: 100%;
vertical-align: baseline; }
html {
line-height: 1; }
2023-12-29 20:05:27 -07:00
ol,
ul {
2023-10-01 01:09:45 -06:00
list-style: none; }
table {
border-collapse: collapse;
border-spacing: 0; }
2023-12-29 20:05:27 -07:00
caption,
th,
td {
2023-10-01 01:09:45 -06:00
text-align: left;
font-weight: normal;
vertical-align: middle; }
2023-12-29 20:05:27 -07:00
q,
blockquote {
2023-10-01 01:09:45 -06:00
quotes: none; }
2023-12-29 20:05:27 -07:00
q:before,
q:after,
blockquote:before,
blockquote:after {
2023-10-01 01:09:45 -06:00
content: "";
content: none; }
a img {
border: none; }
2023-12-29 20:05:27 -07:00
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
2023-10-01 01:09:45 -06:00
display: block; }
* {
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box; }
html {
font-size: 87.5%;
line-height: 1.57143em; }
html {
font-size: 14px;
line-height: 1.6em;
-webkit-text-size-adjust: 100%; }
body {
background: var(--background);
color: var(--text-base-color);
text-rendering: optimizeLegibility;
2023-12-29 20:05:27 -07:00
font-family: "AvenirNext-Regular";
position: relative; }
2023-10-01 01:09:45 -06:00
a {
color: var(--link-text-color);
text-decoration: none; }
h1 {
font-family: "AvenirNext-Medium";
color: var(--title-text-color);
font-size: 1.6em;
line-height: 1.3em;
margin-bottom: .78571em; }
h2 {
font-family: "AvenirNext-Medium";
color: var(--title-text-color);
font-size: 1.3em;
line-height: 1em;
margin-bottom: .62857em; }
h3 {
font-family: "AvenirNext-Medium";
color: var(--title-text-color);
font-size: 1.15em;
line-height: 1em;
margin-bottom: .47143em; }
p {
margin-bottom: 1.57143em;
hyphens: auto; }
hr {
height: 1px;
border: 0;
background-color: #dedede;
margin: -1px auto 1.57143em auto; }
2023-12-29 20:05:27 -07:00
ul,
ol {
2023-10-01 01:09:45 -06:00
margin-bottom: .31429em; }
2023-12-29 20:05:27 -07:00
ul ul,
ul ol,
ol ul,
ol ol {
2023-10-01 01:09:45 -06:00
margin-bottom: 0px; }
ol {
counter-reset: ol_counter; }
ol li:before {
content: counter(ol_counter) ".";
counter-increment: ol_counter;
color: var(--accent-text-color);
text-align: right;
display: inline-block;
min-width: 1em;
margin-right: 0.5em; }
2023-12-29 20:05:27 -07:00
b,
strong {
font-family: "Menlo-Regular";
font-weight: bold; }
2023-10-01 01:09:45 -06:00
2023-12-29 20:05:27 -07:00
i,
em {
font-family: "Menlo-Regular";
font-style: italic; }
2023-10-01 01:09:45 -06:00
code {
font-family: "Menlo-Regular"; }
.text-overflow-ellipsis {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap; }
2023-12-29 20:05:27 -07:00
.sf_code_string,
.sf_code_selector,
.sf_code_attr-name,
.sf_code_char,
.sf_code_builtin,
.sf_code_inserted {
2023-10-01 01:09:45 -06:00
color: #D33905; }
2023-12-29 20:05:27 -07:00
.sf_code_comment,
.sf_code_prolog,
.sf_code_doctype,
.sf_code_cdata {
2023-10-01 01:09:45 -06:00
color: #838383; }
2023-12-29 20:05:27 -07:00
.sf_code_number,
.sf_code_boolean {
2023-10-01 01:09:45 -06:00
color: #0E73A2; }
2023-12-29 20:05:27 -07:00
.sf_code_keyword,
.sf_code_atrule,
.sf_code_rule,
.sf_code_attr-value,
.sf_code_function,
.sf_code_class-name,
.sf_code_class,
.sf_code_regex,
.sf_code_important,
.sf_code_variable,
.sf_code_interpolation {
2023-10-01 01:09:45 -06:00
color: #0E73A2; }
2023-12-29 20:05:27 -07:00
.sf_code_property,
.sf_code_tag,
.sf_code_constant,
.sf_code_symbol,
.sf_code_deleted {
2023-10-01 01:09:45 -06:00
color: #1B00CE; }
2023-12-29 20:05:27 -07:00
.sf_code_macro,
.sf_code_entity,
.sf_code_operator,
.sf_code_url {
2023-10-01 01:09:45 -06:00
color: #920448; }
.note-wrapper {
max-width: 75em;
margin: 0px auto;
padding: 1.57143em 3.14286em; }
.note-wrapper.spotlight-preview {
overflow-x: hidden; }
u {
text-decoration: underline;
2023-10-01 01:09:45 -06:00
background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 50%, var(--accent-text-color) 50%);
background-repeat: repeat-x;
background-size: 2px 2px;
background-position: 0 1.05em; }
s {
color: #878787; }
p {
margin-bottom: 0.1em; }
hr {
margin-bottom: 0.7em;
margin-top: 0.7em; }
ul li {
text-indent: -0.35em; }
ul li:before {
content: "•";
color: var(--accent-text-color);
display: inline-block;
margin-right: 0.3em; }
ul ul {
margin-left: 1.25714em; }
ol li {
text-indent: -1.45em; }
ol ol {
margin-left: 1.25714em; }
blockquote {
display: block;
margin-left: -1em;
padding-left: 0.8em;
border-left: 0.2em solid var(--accent-text-color); }
.todo-list ul {
margin-left: 1.88571em; }
.todo-list li {
text-indent: -1.75em; }
.todo-list li:before {
content: "";
display: static;
margin-right: 0px; }
.todo-checkbox {
text-indent: -1.7em; }
.todo-checkbox svg {
margin-right: 0.3em;
position: relative;
top: 0.2em; }
.todo-checkbox svg #check {
display: none; }
.todo-checkbox.todo-checked #check {
display: inline; }
.todo-checkbox.todo-checked + .todo-text {
text-decoration: line-through;
color: #878787; }
.code-inline {
display: inline;
background: white;
border: solid 1px #dedede;
padding: 0.2em 0.5em;
font-size: 0.9em; }
.code-multiline {
display: block;
background: white;
border: solid 1px #dedede;
padding: 0.7em 1em;
font-size: 0.9em;
overflow-x: auto; }
.hashtag {
display: inline-block;
color: var(--hashtag-text-color);
background: var(--hashtag-background-color);
padding: 0.0em 0.5em;
border-radius: 1em;
text-indent: 0; }
.hashtag a {
color: var(--hashtag-text-color); }
.address a {
color: #545454;
background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 50%, #0da35e 50%);
background-repeat: repeat-x;
background-size: 2px 2px;
background-position: 0 1.05em; }
.address svg {
position: relative;
top: 0.2em;
display: inline-block;
margin-right: 0.2em; }
.color-preview {
display: inline-block;
width: 1em;
height: 1em;
border: solid 1px rgba(0, 0, 0, 0.3);
border-radius: 50%;
margin-right: 0.1em;
position: relative;
top: 0.2em;
white-space: nowrap; }
.color-code {
margin-right: 0.2em;
font-family: "Menlo-Regular";
font-size: 0.9em; }
.color-hash {
opacity: 0.4; }
.ordered-list-number {
color: var(--accent-text-color);
text-align: right;
display: inline-block;
min-width: 1em; }
.arrow svg {
position: relative;
top: 0.08em;
display: inline-block;
margin-right: 0.15em;
margin-left: 0.15em; }
.arrow svg #rod {
stroke: #545454; }
.arrow svg #point {
fill: #545454; }
mark {
color: inherit;
display: inline;
padding: 0.2em 0.5em;
background-color: var(--highlighter-marker-color); }
img {
2023-12-03 02:24:14 -07:00
max-width: 70%;
2023-10-01 01:09:45 -06:00
height: auto; }
/**
Custom styles
*/
li > p {
display: inline-block;
margin-left: 16px; }
hr {
background: var(--divider-color);
margin-top: 2.6em;
margin-bottom: 12px; }
h4 {
font-family: "AvenirNext-Medium";
color: var(--title-text-color);
font-size: 1.05em;
margin-bottom: .47143em; }
* + p,
* + ul,
* + ol,
* + blockquote {
/*margin-top: 1.6em;*/ }
svg + ul,
svg + ol {
margin-top: 0; }
* + h2,
* + h3,
* + h4 {
margin-top: 2.8em; }
2023-12-29 20:05:27 -07:00
h1,
h2,
h3,
h4,
h5,
h6 {
2023-10-01 01:09:45 -06:00
position: relative; }
h1:before,
h2:before,
h3:before,
h4:before,
h5:before,
h6:before {
position: absolute;
left: -2.2em;
color: var(--heading-indicator);
font-size: 12px; }
h1:before {
content: "H1"; }
h2:before {
content: "H2"; }
h3:before {
content: "H3"; }
h4:before {
content: "H4"; }
h5:before {
content: "H5"; }
h6:before {
content: "H6"; }
.note-wrapper {
margin-top: 2em; }
.highlighted {
background: var(--selected-text-background-color); }
.hashtag {
cursor: pointer;
margin-bottom: 4px;
position: relative;
margin-right: 2px; }
.hashtag:before {
content: "#"; }
* + table {
margin-top: 12px; }
table {
border-radius: 4px;
border: 1px solid var(--separator-color);
border-collapse: inherit;
overflow: hidden;
width: 100%; }
table th {
font-family: "Avenir-Medium", "AvenirLTStd-Medium"; }
table td,
table th {
padding: 0.3em 0.8em; }
table tr:nth-child(odd) {
background-color: var(--selected-text-inactive-background-color); }
pre,
p code,
li code {
border: 1px solid var(--separator-color);
padding: 10px;
font-size: 12px;
background: white;
overflow: hidden; }
li code,
p code {
padding: 2px; }
li img {
width: 122px; }
.thumbnail {
width: 122px;
height: 76px;
border: 1px solid var(--separator-color);
object-fit: cover; }
.turbolinks-progress-bar {
visibility: hidden; }
2023-12-29 20:05:27 -07:00
@media only screen and (max-width: 460px) {
main .note-wrapper {
padding: 1.57143em 1.1em; } }