first commit

This commit is contained in:
2025-07-10 15:45:00 +08:00
commit 3437c1a17f
2162 changed files with 623170 additions and 0 deletions

View File

@@ -0,0 +1,192 @@
body {
color: white;
background-color: #202124;
}
::-moz-selection {
background: blue;
color: #fff;
text-shadow: none;
}
::selection {
background: red;
color: #fff;
text-shadow: none;
}
hr {
border-top: 3px dotted blue;
}
code {
background-color: lightblue;
color: black;
text-decoration: bold;
padding: 0.1em 0.2em;
}
pre {
background-color: #272822;
line-height: 1.4;
overflow-x: auto;
padding: 1em;
}
blockquote {
border-color: blue;
}
h1,
h2,
h3,
h4,
h5,
h6 {
color: #ddd;
}
h1::before {
color: var(--darkMaincolor);
content: "# ";
}
h2::before {
color: var(--darkMaincolor);
content: "## ";
}
h3::before {
color: var(--darkMaincolor);
content: "### ";
}
h4::before {
color: var(--darkMaincolor);
content: "#### ";
}
h5::before {
color: var(--darkMaincolor);
content: "##### ";
}
h6::before {
color: var(--darkMaincolor);
content: "###### ";
}
.toc {
background-color: #272822;
color: white;
}
a {
border-bottom: 3px solid var(--darkMaincolor);
color: inherit;
}
a:hover {
background-color: var(--darkMaincolor);
color: black;
}
.site-description a {
color: #ddd;
}
.site-description a:hover {
color: black;
}
.tags a {
border-bottom: 3px solid var(--darkMaincolor);
}
.tags a:hover {
background-color: var(--darkMaincolor);
color: black;
}
.site-title a {
color: white;
text-decoration: none !important;
}
.header nav,
.footer {
border-color: #333;
}
.highlight {
background-color: #333;
}
.soc:hover {
color: black;
}
.draft-label {
color: var(--darkMaincolor);
background-color: blue;
}
.highlight pre code[class=language-javaScript]::before,
.highlight pre code[class="language-js"]::before {
content: "js";
background: #f7df1e;
color: black;
}
.highlight pre code[class*='language-yml']::before,
.highlight pre code[class*='language-yaml']::before {
content: 'yaml';
background: #f71e6a;
color: white;
}
.highlight pre code[class*='language-shell']::before,
.highlight pre code[class*='language-bash']::before,
.highlight pre code[class*='language-sh']::before {
content: 'shell';
background: green;
color:white
}
.highlight pre code[class*='language-json']::before{
content: 'json';
background: dodgerblue;
color: #000000
}
.highlight pre code[class*='language-python']::before,
.highlight pre code[class*='language-py']::before {
content: 'py';
background: blue;
color: yellow ;
}
.highlight pre code[class*='language-css']::before{
content: 'css';
background: cyan;
color: black ;
}
.highlight pre code[class*='language-go']::before{
content: 'Go';
background: cyan;
color: royalblue ;
}
.highlight pre code[class*='language-md']::before,
.highlight pre code[class*='language-md']::before{
content: 'Markdown';
background: royalblue;
color: whitesmoke ;
}
.callout-alert {
color: #ffffff;
background-color: transparent;
border-width: 3px;
border-style: solid;
border-color: #ff6347;
}
.callout-custom {
color: #ffffff;
}
.callout-tip {
color: #ffffff;
background-color: transparent;
border-width: 3px;
border-style: solid;
border-color: dodgerblue;
}
.callout-warning {
color: #ffffff;
background-color: transparent;
border-width: 3px;
border-style: solid;
border-color: #ffd700;
}

99
public/css/dark.css Normal file
View File

@@ -0,0 +1,99 @@
html.dark body {
color: #ddd;
background-color: #000;
}
html.dark ::-moz-selection {
background: #9375fd;
color: #fff;
text-shadow: none
}
html.dark ::selection {
background: #9375fd;
color: #fff;
text-shadow: none
}
html.dark hr {
border-color: #333;
}
html.dark blockquote {
border-color: #ddd;
}
html.dark h1,
html.dark h2,
html.dark h3,
html.dark h4,
html.dark h5,
html.dark h6 {
color: #ddd;
}
html.dark a, html.dark a:hover {
color: #9375fd;
text-decoration: none;
}
html.dark table tbody tr:nth-of-type(even) {
background-color: rgba(255, 255, 255, 0.15);
}
html.dark .site-description a,
html.dark .site-description a:hover {
color: #ddd;
text-decoration: underline;
}
html.dark a:hover {
opacity: 0.8;
}
html.dark .post-tags .tags a {
border: 1px solid #ddd;
color: #ddd;
}
.post .tags a {
color: #8362fd;
border: 1px solid #8362fd;
}
a:hover {
border-bottom: 2px solid #8362fd;
}
html.dark .site-title a {
color: #ddd;
text-decoration: none !important;
}
html.dark .header nav,
html.dark .footer {
border-color: #333;
}
html.dark .highlight {
background-color: #333;
}
html.dark .header .site-description .scheme-toggle a svg {
fill: #f8e04f !important;
color: #f8e04f !important;
}
html.dark td pre code {
color: #333;
}
html.dark code:not(pre *) {
color: #ddd;
background-color: #333;
}
html.dark .section-nav li.active > a {
font-weight: 600;
color: #ddd;
}

View File

@@ -0,0 +1,41 @@
/* fira-sans-regular - latin */
@font-face {
font-display: swap;
font-family: 'Fira Sans';
font-style: normal;
font-weight: 400;
src: url('../fonts/fira-sans-v10-latin-regular.eot'); /* IE9 Compat Modes */
src: local('Fira Sans Regular'), local('FiraSans-Regular'),
url('../fonts/fira-sans-v10-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('../fonts/fira-sans-v10-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
url('../fonts/fira-sans-v10-latin-regular.woff') format('woff'), /* Modern Browsers */
url('../fonts/fira-sans-v10-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
url('../fonts/fira-sans-v10-latin-regular.svg#FiraSans') format('svg'); /* Legacy iOS */
}
/* roboto-mono-regular - latin */
@font-face {
font-display: swap;
font-family: 'Roboto Mono';
font-style: normal;
font-weight: 400;
src: url('../fonts/roboto-mono-v12-latin-regular.eot'); /* IE9 Compat Modes */
src: url('../fonts/roboto-mono-v12-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('../fonts/roboto-mono-v12-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
url('../fonts/roboto-mono-v12-latin-regular.woff') format('woff'), /* Modern Browsers */
url('../fonts/roboto-mono-v12-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
url('../fonts/roboto-mono-v12-latin-regular.svg#RobotoMono') format('svg'); /* Legacy iOS */
}
/* ibm-plex-mono-500italic - latin */
@font-face {
font-display: swap;
font-family: 'IBM Plex Mono';
font-style: italic;
font-weight: 500;
src: url('../fonts/ibm-plex-mono-v6-latin-500italic.eot'); /* IE9 Compat Modes */
src: local('IBM Plex Mono Medium Italic'), local('IBMPlexMono-MediumItalic'),
url('../fonts/ibm-plex-mono-v6-latin-500italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('../fonts/ibm-plex-mono-v6-latin-500italic.woff2') format('woff2'), /* Super Modern Browsers */
url('../fonts/ibm-plex-mono-v6-latin-500italic.woff') format('woff'), /* Modern Browsers */
url('../fonts/ibm-plex-mono-v6-latin-500italic.ttf') format('truetype'), /* Safari, Android, iOS */
url('../fonts/ibm-plex-mono-v6-latin-500italic.svg#IBMPlexMono') format('svg'); /* Legacy iOS */
}

View File

@@ -0,0 +1,401 @@
/* Markdown */
:root{
--maincolor: red;
--bordercl:rebeccapurple;
--callouctcolor:dodgerblue;
--hovercolor:navy;
--darkMaincolor: #50fa7b;
}
html {
color: #232333;
font-family: 'Roboto Mono', monospace;
font-size: 15px;
line-height: 1.6em;
}
body{
display: block;
margin: 8px;
}
* {
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
::selection {
background: var(--maincolor);
color: #fff;
}
p {
font-family: 'Fira Sans', sans-serif;
line-height: 1.5;
}
hr {
border: 0;
border-top: 3px dotted var(--bordercl);
margin: 1em 0;
}
blockquote {
border-left: 3px solid var(--bordercl);
color: #737373;
margin: 0;
padding-left: 1em;
}
a {
border-bottom: 3px solid var(--maincolor);
color: inherit;
text-decoration: none;
}
a:hover {
background-color: var(--hovercolor);
color: #fff;
}
ul {
list-style: none;
padding-left: 2ch;
}
ul li {
text-indent: -2ch;
}
ul > li::before {
content: '* ';
font-weight: bold;
}
/* Images */
img {
border: 3px solid #ececec;
max-width: 100%;
}
figure {
box-sizing: border-box;
display: inline-block;
margin: 0;
max-width: 100%;
}
figure img {
max-height: 500px;
}
@media screen and (min-width: 600px) {
figure {
padding: 0 40px;
}
}
figure h4 {
font-size: 1rem;
margin: 0;
margin-bottom: 1em;
}
figure h4::before {
content: '↳ ';
}
/* Code blocks */
code {
background-color: #f1f1f1;
padding: .1em .2em;
}
pre {
background-color: #ececec;
line-height: 1.4;
overflow-x: auto;
padding: 1em;
}
.highlight pre ::selection {
background: rgba(255, 255, 255, 0.2);
color: inherit;
}
pre code {
background-color: transparent;
color: inherit;
font-size: 100%;
padding: 0;
}
/* Containers */
.content {
margin-bottom: 4em;
margin-left: auto;
margin-right: auto;
max-width: 800px;
padding: 0 1ch;
word-wrap: break-word;
}
/* Header */
header {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
margin: 1em 0;
line-height: 2.5em;
}
header .main {
font-size: 1.5rem;
}
h1, h2, h3, h4, h5, h6 {
font-size: 1.2rem;
margin-top: 2em;
}
h1::before { color: var(--maincolor); content: '# '; }
h2::before { color: var(--maincolor); content: '## '; }
h3::before { color: var(--maincolor); content: '### '; }
h4::before { color: var(--maincolor); content: '#### '; }
h5::before { color: var(--maincolor); content: '##### '; }
h6::before { color: var(--maincolor); content: '###### '; }
.meta {
color: #999;
letter-spacing: -0.5px;
}
.post-container {
align-items: flex-start;
display: flex;
gap: 20px;
}
.post-content {
flex: 3;
min-width: 0;
}
.toc {
background-color: #ececec;
border-radius: 5px;
color: #232333;
flex: 0 0 auto;
height: auto;
margin-left: 20px;
max-width: 300px;
overflow-y: auto;
padding: 10px;
position: sticky;
top: 20px;
}
/* Footer */
footer {
display: flex;
align-items: center;
border-top: 0.4rem dotted var(--bordercl);
padding: 2rem 0rem;
margin-top: 2rem;
}
.soc {
display: flex;
align-items: center;
border-bottom: none;
}
.border {
margin-left: 0.5rem;
margin-right: 0.5rem;
border: 1px solid;
}
.footer-info {
padding: var(--footer-padding);
}
/* Common */
.title h1 {
margin-bottom: 0;
}
time {
color: grey;
}
/* Posts */
article .title {
margin-bottom: 1em;
}
/* Callout */
.callout {
background-color: var(--callouctcolor);
color: #fff;
padding: 1em;
}
.callout p {
font-family: 'IBM Plex Mono', monospace;
margin: 0;
}
.callout a {
border-bottom: 3px solid #fff;
}
.callout a:hover {
background-color: #fff;
color: var(--callouctcolor);
}
.callout-alert {
color: #000000;
background-color: transparent;
border-width: 3px;
border-style: solid;
border-color: #ff6347;
}
.callout-custom {
color: #000000;
}
.callout-tip {
color: #000000;
background-color: transparent;
border-width: 3px;
border-style: solid;
border-color: dodgerblue;
}
.callout-warning {
color: #000000;
background-color: transparent;
border-width: 3px;
border-style: solid;
border-color: #ffd700;
}
.site-description {
display: flex;
justify-content: space-between;
}
.tags li::before{
content: "🏷 ";
}
.tags a{
border-bottom: 3px solid var(--maincolor);
}
.tags a:hover{
color:white;
background-color: var(--hovercolor);
}
svg{
max-height: 15px;
}
.soc:hover{
color: white;
}
.draft-label{
color: var(--bordercl);
text-decoration: none;
padding: 2px 4px;
border-radius: 4px;
margin-left: 6px;
background-color: #f9f2f4;
}
.highlight {
position: relative;
-webkit-overflow-scrolling: touch;
}
.highlight pre code[class*="language-"] {
-webkit-overflow-scrolling: touch;
}
.highlight pre code[class*="language-"]::before {
background: black;
border-radius: 0 0 0.25rem 0.25rem;
color: white;
font-size: 12px;
letter-spacing: 0.025rem;
padding: 0.1rem 0.5rem;
position: absolute;
right: 1rem;
text-align: right;
text-transform: uppercase;
top: 0;
}
.highlight pre code[class=language-javaScript]::before,
.highlight pre code[class="language-js"]::before {
content: "js";
background: #f7df1e;
color: black;
}
.highlight pre code[class*='language-yml']::before,
.highlight pre code[class*='language-yaml']::before {
content: 'yaml';
background: #f71e6a;
color: white;
}
.highlight pre code[class*='language-shell']::before,
.highlight pre code[class*='language-bash']::before,
.highlight pre code[class*='language-sh']::before {
content: 'shell';
background: green;
color:white
}
.highlight pre code[class*='language-json']::before{
content: 'json';
background: dodgerblue;
color: #000000
}
.highlight pre code[class*='language-python']::before,
.highlight pre code[class*='language-py']::before {
content: 'py';
background: blue;
color: yellow ;
}
.highlight pre code[class*='language-css']::before{
content: 'css';
background: cyan;
color: black ;
}
.highlight pre code[class*='language-go']::before{
content: 'Go';
background: cyan;
color: royalblue ;
}
.highlight pre code[class*='language-md']::before,
.highlight pre code[class*='language-md']::before{
content: 'Markdown';
background: royalblue;
color: whitesmoke ;
}
.highlight pre code[class*='language-ts']::before{
content: 'TS';
background: #3178C6;
color: #fff;
}
/* table */
table {
border-spacing: 0;
border-collapse: collapse;
}
table th{
padding: 6px 13px;
border: 1px solid #dfe2e5;
font-size: large;
}
table td{
padding: 6px 13px;
border: 1px solid #dfe2e5;
}
.feather {
width: 24px;
height: 24px;
stroke: currentColor;
stroke-width: 2;
stroke-linecap: round;
stroke-linejoin: round;
fill: none;
}

632
public/css/main.css Normal file
View File

@@ -0,0 +1,632 @@
body {
font-family: "Inter", sans-serif;
font-weight: 400;
color: #333;
line-height: 1.8em;
font-size: 17px;
}
a {
color: #3700ff;
text-decoration: none;
word-break: break-word;
}
a:hover {
border-bottom: 2px solid #3700ff;
}
html, button, input, select, textarea {
color: #333;
}
::-moz-selection {
background: #3700ff;
text-shadow: none;
color: #fff;
}
::selection {
background: #3700ff;
text-shadow: none;
color: #fff;
}
hr {
display: block;
height: 1px;
border: 0;
border-top: 1px solid #ccc;
margin: 1rem 0;
padding: 0;
}
img {
margin: 10px auto 10px auto;
max-width: 100%;
display: block;
}
a img {
border: none;
}
figure {
margin: 0;
text-align: center;
}
fieldset {
border: 0;
margin: 0;
padding: 0;
}
table {
-ms-overflow-style: -ms-autohiding-scrollbar;
-webkit-overflow-scrolling: touch;
background-color: transparent;
margin-bottom: 1rem;
overflow-x: auto;
width: 100%;
}
table th,
table td {
border-bottom: 1px solid #dee2e6;
padding: 0.75rem;
vertical-align: top;
}
table thead th {
border-bottom: 2px solid #dee2e6;
vertical-align: bottom;
}
table tbody+tbody {
border-top: 2px solid #dee2e6;
}
/* Breaks gists
table tbody tr:nth-of-type(even) {
background-color: rgba(0, 0, 0, 0.15);
}
*/
table th {
background-color: #212529;
border-color: #32383e;
color: #fff;
}
textarea {
resize: vertical;
}
blockquote {
margin-left: 1rem;
font-style: italic;
font-size: 1.1rem;
font-family: Georgia, bitstream charter, serif;
border-left: 3px solid;
border-color: #3700ff;
padding-left: 15px;
}
blockquote cite {
font-size: 70%;
opacity: .8;
}
blockquote em {
font-weight: 600;
}
blockquote code {
font-size: 0.8rem;
}
h1, h2, h3, h4, h5, h6 {
color: #333;
font-weight: 500;
line-height: 1.3em;
margin: 30px 0 20px 0;
}
h1 {
font-size: 2.75rem;
}
h2 {
font-size: 2rem;
}
h3 {
font-size: 1.6rem;
}
h4 {
font-size: 1.2rem;
}
h5 {
font-size: 1rem;
}
h6 {
font-size: .9rem;
}
.align-center {
text-align: center;
}
.align-left {
text-align: left;
}
.align-right {
text-align: right;
}
ul {
padding-left: 15px;
}
ul.flat {
margin: 0;
padding: 0;
}
ul.flat li {
display: block;
list-style: none;
margin-left: 0;
}
.prevent-collapse {
min-height: .1rem
}
.smaller {
font-size: 70%;
}
ul {
list-style: disc inside;
}
.post {
max-width: 800px;
}
.post ul li {
margin-bottom: 10px;
}
.post ul li p {
display: inline;
}
/* Code */
.highlight pre {
margin-bottom: 0;
margin-top: 0;
padding: 5px;
/* background-color: black !important; */
}
.highlight {
/* background: 0 0; */
font-size: 0.8em;
max-width: 800px;
overflow-x: auto;
}
.wrapper {
max-width: 760px;
margin: 0 auto;
}
.container {
max-width: 800px;
margin-top: 50px;
}
.container-wide {
max-width: 1000px;
margin-top: 50px;
}
.header {
margin-bottom: 20px;
padding-bottom: 20px;
}
.header .avatar {
float: left;
margin: -25px 20px 0 0;
}
.header .avatar img {
width: 64px;
height: 64px;
overflow: hidden;
border-radius: 100%;
}
.header .site-title {
margin: 0 0 10px 0;
line-height: 0.2em;
}
.site-title a {
color: #333;
text-decoration: none !important;
}
.site-title a:hover {
border-bottom-width: 3px;
}
.header .site-description {
display: flex;
justify-content: space-between;
}
.header nav {
border-top: 1px solid #eee;
padding-top: 15px;
}
.header nav ul,
.header nav li {
margin: 0;
padding: 0;
}
.header nav li {
display: inline-block;
list-style: none;
margin: 0 30px 0 0;
}
.header nav.social a {
color: #333;
}
.header nav.social a:hover {
color: #3700ff;
}
.header .site-description nav {
margin: 0;
padding: 0;
border: none;
min-width: 50px;
margin-left: 15px;
}
.header .site-description nav ul svg {
max-height: 15px;
}
.header .site-description .scheme-toggle {
height: 100%;
}
.header .site-description .scheme-toggle a svg {
max-height: 15px;
fill: grey;
color: black;
}
.section .section-header {
font-size: 0.75rem;
font-weight: 600;
text-transform: uppercase;
color: #999;
margin-bottom: 20px;
letter-spacing: 1px;
}
.recent-posts .posts .post {
margin-bottom: 45px;
}
.post-header {
display: flex;
}
.post-header .meta .date {
margin-right: 30px;
width: 64px;
text-align: center;
}
.post-header .meta .date .day {
font-family: "Playfair Display", serif;
font-weight: 700;
line-height: 0.45em;
font-size: 3em;
display: block;
margin-bottom: 20px;
}
.post-header .meta .date .rest {
display: block;
font-size: 0.75em;
}
.post-header h1.title {
margin: -10px 0 0 0;
}
.post .title.small {
margin: 0 0 10px 0;
}
.post .post-header {
margin-bottom: 30px;
}
.post .draft-label {
color: #3700ff;
text-decoration: none;
padding: 2px 4px;
border-radius: 4px;
margin-left: 6px;
background-color: #f9f2f4;
}
.post .tags a {
display: inline-block;
border: 1px solid #3700ff;
border-radius: 3px;
padding: 0px 6px;
color: #3700ff;
line-height: 20px;
font-size: 0.85em;
text-decoration: none;
margin: 0 10px 0 0;
}
.list .posts .post-header .meta {
margin-bottom: 0;
margin-left: 5px;
}
.footer {
text-align: right;
font-size: 0.75em;
color: #999;
border-top: 1px solid #f4f4f4;
margin-top: 40px;
padding: 15px 0;
}
.footer a {
color: #666;
}
.footer a:hover {
color: #3700ff;
}
.tag-cloud {
margin-top: 20px;
}
.tag-cloud a {
margin-right: 15px;
}
.pagination {
margin: 0;
padding: 0;
text-align: left;
display: flex;
justify-content: space-between;
}
.pagination li {
list-style: none;
display: inline-block;
margin: 0;
padding: 0;
}
.pagination .page-prev {
margin-right: 20px;
padding-right: 20px;
}
.pagination .page-item.page-prev {
text-align: left;
}
.pagination .page-item.page-next {
text-align: right;
}
@media (max-width: 900px) {
body {
padding: 20px;
}
h1 {
font-size: 1.8rem;
}
h2 {
font-size: 1.6rem;
}
h3 {
font-size: 1.2rem;
}
h4 {
font-size: 1rem;
}
.container {
margin-top: 10px;
}
.header .nav.social li {
margin: 0;
}
.header .nav li {
margin: 0 10px 0 0;
font-size: 14px;
}
table {
-ms-overflow-style: -ms-autohiding-scrollbar;
-webkit-overflow-scrolling: touch;
display: block;
overflow-x: auto;
width: 100%;
}
}
.tag-li {
display: inline !important;
}
.back {
padding-top: 1em;
font-size: 1em;
}
.inline-img {
margin: 0 0 0 0 !important;
max-width: 100%;
display: inline-block !important;
}
.figcaption-img {
margin-bottom: 0px;
}
figcaption {
font-size: 0.9rem;
display: block;
text-align: center;
color: gray;
}
code:not(pre *) {
font-family: monospace;
font-size: 1em;
background-color: rgb(239, 241, 243);
font-size: 95%;
white-space: normal;
}
code {
font-size: 0.8rem;
white-space: pre;
}
.footer-separator {
border-top: 0.1em dashed lightgray;
}
/* Table of contents */
.toc {
line-height: normal;
}
.show-on-mobile {
display: none !important;
}
@media screen and (max-width: 1024px) {
.hide-on-mobile {
display: none !important;
}
.show-on-mobile {
display: block !important;
}
.container-wide {
max-width: 800px;
}
}
@media only screen and (min-width: 1025px) {
.article-nav {
display: grid;
grid-template-columns: 1fr 15em;
max-width: 100em;
width: 100%;
margin: 0 auto;
}
}
nav {
position: sticky;
top: 2rem;
align-self: start;
}
.section-nav li.active > a {
font-weight: 600;
color: black;
}
.section-nav {
font-size: smaller;
padding-left: 0;
border-left: 2px solid #efefef;
}
.section-nav a {
text-decoration: none;
display: block;
color: #ccc;
transition: all 50ms ease-in-out;
}
.section-nav li::marker {
color: #ccc;
}
.section-nav a:hover,
.section-nav a:focus {
border: none;
color: #666;
font-weight: 600;
}
.depth-nested {
display: none;
}
/* Static TOC */
.toc a {
text-decoration: none;
display: block;
color: #515151;
transition: all 50ms ease-in-out;
}
.toc li::marker {
color: #515151;
}
.toc a:hover,
.toc a:focus {
border: none;
color: #666;
font-weight: 600;
}
/* For https://github.com/martignoni/hugo-notice */
.notice {
width: 85%;
}

1
public/css/normalize.css vendored Normal file
View File

@@ -0,0 +1 @@
/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */img,legend{border:0}legend,td,th{padding:0}html{font-family:serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,optgroup,strong{font-weight:700}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{box-sizing:content-box;height:0}pre,textarea{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-appearance:textfield;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}table{border-collapse:collapse;border-spacing:0}