indent <style> for better style
This commit is contained in:
parent
aca1ead418
commit
424fbab764
1 changed files with 42 additions and 42 deletions
84
index.html
84
index.html
|
@ -2,57 +2,57 @@
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<style>
|
<style>
|
||||||
* {
|
* {
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
overflow-wrap: break-word;
|
overflow-wrap: break-word;
|
||||||
word-wrap: break-word; /* legacy */
|
word-wrap: break-word; /* legacy */
|
||||||
word-break: break-word; /* for WebKit/Chrome */
|
word-break: break-word; /* for WebKit/Chrome */
|
||||||
}
|
}
|
||||||
|
|
||||||
html {
|
html {
|
||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
font-family: sans-serif;
|
font-family: sans-serif;
|
||||||
text-decoration-skip-ink: auto;
|
text-decoration-skip-ink: auto;
|
||||||
margin: 1rem;
|
margin: 1rem;
|
||||||
background-color: #282a36;
|
background-color: #282a36;
|
||||||
color: #f8f8f2;
|
color: #f8f8f2;
|
||||||
}
|
}
|
||||||
|
|
||||||
h1, h2, h3 {
|
h1, h2, h3 {
|
||||||
color: #50fa7b;
|
color: #50fa7b;
|
||||||
}
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
color: #8be9fd;
|
color: #8be9fd;
|
||||||
}
|
}
|
||||||
|
|
||||||
a:visited {
|
a:visited {
|
||||||
color: #caa9fa;
|
color: #caa9fa;
|
||||||
}
|
}
|
||||||
|
|
||||||
main {
|
main {
|
||||||
max-width: 36rem;
|
max-width: 36rem;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
dd {
|
dd {
|
||||||
margin-top: .2rem;
|
margin-top: .2rem;
|
||||||
margin-bottom: .7rem;
|
margin-bottom: .7rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
code, .email {
|
code, .email {
|
||||||
/* http://code.iamkate.com/html-and-css/fixing-browsers-broken-monospace-font-handling/ */
|
/* http://code.iamkate.com/html-and-css/fixing-browsers-broken-monospace-font-handling/ */
|
||||||
font-family: monospace, monospace;
|
font-family: monospace, monospace;
|
||||||
}
|
}
|
||||||
|
|
||||||
footer {
|
footer {
|
||||||
margin: 2rem 0;
|
margin: 2rem 0;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
color: #50fa7b;
|
color: #50fa7b;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
|
|
Loading…
Add table
Reference in a new issue