home/static/css/style.css

149 lines
1.9 KiB
CSS
Raw Normal View History

2024-08-27 23:06:37 +00:00
2024-08-28 10:19:58 +00:00
html{
background-color: #2d2a2e;
color: #f7f6f3;
}
2024-08-27 23:06:37 +00:00
body {
max-width: 800px;
margin: auto;
padding: .2em;
line-height: 1.5em;
2024-08-28 10:19:58 +00:00
font-size: 19px;
2024-08-27 23:06:37 +00:00
}
h1 {
line-height: 1.5em;
}
2024-08-28 10:19:58 +00:00
ul {
list-style-type: none;
2024-08-27 23:06:37 +00:00
}
2024-08-28 10:19:58 +00:00
.menu{
text-align: center;
2024-08-27 23:06:37 +00:00
}
2024-08-28 10:19:58 +00:00
.menu li {
display: inline-block;
}
2024-08-27 23:06:37 +00:00
.pull-left {
float: left
}
2024-08-28 10:19:58 +00:00
2024-08-27 23:06:37 +00:00
.pull-right {
float: right
}
a {
2024-08-28 10:19:58 +00:00
color: #ac9c6d;
2024-08-27 23:06:37 +00:00
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
/* Adjust background at your leisure! */
header {
2024-08-28 10:19:58 +00:00
border-bottom: 2px dotted #f7f6f3;
position: relative;
width: 100%;
height: 1.75rem;
font-size: 1rem;
}
.menu a {
text-decoration: none;
padding: 5px;
border-radius: 5px;
border-style: dotted;
border-width: 1px;
margin: 20px 0px 20px 0px;
2024-08-27 23:06:37 +00:00
}
header ul,
header ol {
margin: 0;
padding: 0;
list-style: none
}
header nav {
padding: 0 0.5rem
}
header a {
2024-08-28 10:19:58 +00:00
color: #f7f6f3;
2024-08-27 23:06:37 +00:00
line-height: 1.75rem;
padding: 0 0.5rem
}
header a:hover,
header .current a {
2024-08-28 10:19:58 +00:00
color: #f7f6f3
2024-08-27 23:06:37 +00:00
}
2024-08-28 10:19:58 +00:00
footer {
text-align: center;
}
2024-08-27 23:06:37 +00:00
/* Code Boxes */
pre {
border: 2px solid #EBC3DB;
padding: 1em;
overflow-x: auto;
}
pre code { background: none; }
code {
background-color: light-dark(#D6D6D6, #888);
border-radius: 3px;
padding: 0.2em;
overflow-x: auto;
}
/* Images, tables, misc. */
img, iframe, video {
max-width: 100%;
height: auto;
display: block;
margin-left: auto;
margin-right: auto;
}
main {
hyphens: auto;
max-width: 650px;
margin-left: auto;
margin-right: auto;
line-height: 1.7em;
hyphens: auto;
display: block;
font-size: 1.1em;
}
2024-08-28 10:19:58 +00:00
2024-08-27 23:06:37 +00:00
main a {
font-weight: bold;
}
.content-wrapper {
padding: 0px 12px 0px 12px;
}
#personal {
min-width: 40px;
max-width: 200px;
float: right;
padding: 10px;
display: block;
}
2024-08-28 10:19:58 +00:00
/* Small devices */
2024-08-27 23:06:37 +00:00
@media only screen and (min-width : 480px) {
2024-08-28 10:19:58 +00:00
#personal {
2024-08-27 23:06:37 +00:00
min-width: 40px;
float: center;
padding: 10px 10px 10px 20px;
display: block;
}
}