/* Set body font family and some finicky elements */
font-family:var(--nc-font-sans);
}
body{
/* Center body in page */
margin:0auto;
max-width:750px;
padding:2rem;
border-radius:6px;
overflow-x:hidden;
word-break:break-word;
overflow-wrap:break-word;
background:var(--nc-bg-1);
/* Main body text */
color:var(--nc-tx-2);
font-size:1.03rem;
line-height:1.5;
}
::selection{
/* Set background color for selected text */
background:var(--nc-ac-1);
color:var(--nc-ac-tx);
}
h1,h2,h3,h4,h5,h6{
line-height:1;
color:var(--nc-tx-1);
padding-top:.875rem;
}
h1,
h2,
h3{
color:var(--nc-tx-1);
padding-bottom:2px;
margin-bottom:8px;
border-bottom:1pxsolidvar(--nc-bg-2);
}
h4,
h5,
h6{
margin-bottom:.3rem;
}
h1{
font-size:2.25rem;
}
h2{
font-size:1.85rem;
}
h3{
font-size:1.55rem;
}
h4{
font-size:1.25rem;
}
h5{
font-size:1rem;
}
h6{
font-size:.875rem;
}
a{
color:var(--nc-lk-1);
}
a:hover{
color:var(--nc-lk-2);
}
abbr:hover{
/* Set the '?' cursor while hovering an abbreviation */
cursor:help;
}
blockquote{
padding:1.5rem;
background:var(--nc-bg-2);
border-left:5pxsolidvar(--nc-bg-3);
}
abbr{
cursor:help;
}
blockquote*:last-child{
padding-bottom:0;
margin-bottom:0;
}
header{
background:var(--nc-bg-2);
border-bottom:1pxsolidvar(--nc-bg-3);
padding:2rem1.5rem;
/* This sets the right and left margins to cancel out the body's margins. It's width is still the same, but the background stretches across the page's width. */
margin:-2remcalc(0px-(50vw-50%))2rem;
/*Shorthandfor:
margin-top:-2rem;
margin-bottom:2rem;
margin-left:calc(0px-(50vw-50%));
margin-right:calc(0px-(50vw-50%));*/
padding-left:calc(50vw-50%);
padding-right:calc(50vw-50%);
}
headerh1,
headerh2,
headerh3{
padding-bottom:0;
border-bottom:0;
}
header>*:first-child{
margin-top:0;
padding-top:0;
}
header>*:last-child{
margin-bottom:0;
}
abutton,
button,
input[type="submit"],
input[type="reset"],
input[type="button"]{
font-size:1rem;
display:inline-block;
padding:6px12px;
text-align:center;
text-decoration:none;
white-space:nowrap;
background:var(--nc-lk-1);
color:var(--nc-lk-tx);
border:0;
border-radius:4px;
box-sizing:border-box;
cursor:pointer;
}
abutton[disabled],
button[disabled],
input[type="submit"][disabled],
input[type="reset"][disabled],
input[type="button"][disabled]{
opacity:.5;
/* Set the [X] cursor while hovering a disabled link */