add style for different html attributes

This commit is contained in:
Dmitry Kolosov 2020-02-15 22:55:12 +03:00
parent b9bd15ad09
commit b3dea99773

View File

@ -39,6 +39,19 @@ summary {
margin: 0 auto; margin: 0 auto;
} }
/* Headers */
h1 {
font-size: 1.35em;
}
h2 {
font-size: 1.2em;
}
h3 {
font-size: 1.1em;
}
/* Links */ /* Links */
a { a {
@ -63,6 +76,41 @@ a:active {
border-bottom: 1px solid rgba(163, 29, 29, .5); border-bottom: 1px solid rgba(163, 29, 29, .5);
} }
/* Table */
.table-wrapper {
overflow-x: auto;
}
table {
max-width: 100%;
border-spacing: 0;
}
thead {
background: lightgrey;
}
th, td {
padding: 0.5em 1em;
border: 1px double lightgrey;
}
/* Code */
pre {
padding: 1em;
background-color: #f1f1f1;
max-width: 100%;
overflow: scroll;
}
code,
pre,
kbd {
font-family: monospace;
font-size: 0.90em;
line-height: 154%;
}
/* Styles */ /* Styles */
blockquote { blockquote {
@ -82,6 +130,10 @@ hr {
border-top: 1px solid #cccccc; border-top: 1px solid #cccccc;
} }
ul ol, ol ol, ul ul {
margin: 0em 2em;
}
/* Header */ /* Header */
header { header {
@ -125,7 +177,6 @@ header a {
main h1 { main h1 {
margin-top: 1em; margin-top: 1em;
font-weight: normal; font-weight: normal;
font-size: 1.35em;
line-height: 1.1em; line-height: 1.1em;
margin-bottom: 0.5em; margin-bottom: 0.5em;
font-weight: 600; font-weight: 600;