Verified Commit 7a3be0e1 authored by Aral Balkan's avatar Aral Balkan
Browse files

Clean up the HTML

parent a44b87f8
......@@ -170,26 +170,17 @@ pre, code {
pre {
line-height: 1.5;
/* padding: 1em; */
margin-left: -1em;
margin-right: -1em;
padding-left: 0.5em;
padding-right: 0.5em;
border-radius: 0.5em;
}
aside pre {
border-radius: 0;
}
code {
overflow: visible !important;
}
pre {
border-radius: 0.5em;
}
/* Make sure all code wraps so we don’t overflow the page width. */
/* Courtesy: https://gist.github.com/tcr/1321968 */
......@@ -449,12 +440,12 @@ aside.tip::before {
* *
********************************************************************************/
main {
main, footer {
padding-left: 3rem;
padding-right: 3rem;
}
main p, main li {
main p, main li, footer p {
font-size: 1rem;
line-height: 1.5;
margin-bottom: 1em;
......@@ -512,12 +503,27 @@ main li {
}
/********************************************************************************
* *
* About *
* *
********************************************************************************/
#about {
margin-bottom: 3rem;
}
/********************************************************************************
* *
* Footer *
* *
********************************************************************************/
footer {
margin-bottom: 2rem;
}
#copyright {
margin-top: 1em;
text-align: center;
......@@ -576,7 +582,7 @@ main li {
/* Main content padding becomes too large. */
@media(max-width: 768px) {
main {
main, footer {
padding-left: 1rem;
padding-right: 1rem;
}
......@@ -621,7 +627,7 @@ main li {
content: counter(index) '. ';
}
ol ol li p::before {
ol ol li p:first-of-type::before {
content: counter(index, lower-roman) '. ';
}
}
......
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment