1
Fork 0
bauke-xyz/source/css/index.css

100 lines
1.3 KiB
CSS
Raw Normal View History

2020-07-31 10:45:37 +00:00
html {
font-size: 62.5%;
}
body {
background-color: var(--background-1);
color: var(--foreground-1);
2020-07-31 10:45:37 +00:00
font-size: 1.75rem;
padding: 16px;
}
main {
align-items: center;
display: flex;
gap: 16px;
flex-direction: column;
margin: 0 auto;
margin-bottom: 16px;
max-width: 500px;
padding: 16px;
}
2020-07-31 17:46:30 +00:00
h1,
h2 {
background-color: var(--background-2);
2020-07-31 10:45:37 +00:00
padding: 16px;
width: 100%;
}
2020-07-31 17:46:30 +00:00
h1,
h2,
2020-07-31 10:45:37 +00:00
p {
margin: 0;
}
a {
border: 1px dashed transparent;
color: var(--primary-accent-7);
2020-07-31 10:45:37 +00:00
display: inline-block;
font-weight: bold;
padding: 4px 8px;
text-decoration: none;
}
a:hover {
background-color: var(--primary-accent-3);
color: var(--background-1);
2020-07-31 10:45:37 +00:00
}
a:active,
a:focus {
border: 1px dashed var(--foreground-1);
2020-07-31 10:45:37 +00:00
outline: none;
}
2020-07-31 17:46:30 +00:00
img {
display: inline-block;
}
2020-07-31 10:45:37 +00:00
main,
footer,
h1,
ul {
border: 1px solid var(--primary-accent-5);
2020-07-31 10:45:37 +00:00
}
ul {
align-items: center;
background-color: var(--background-2);
2020-07-31 10:45:37 +00:00
list-style: none;
margin: 0;
overflow: auto;
padding: 16px;
width: 100%;
}
li {
margin-bottom: 8px;
}
li:last-child {
margin-bottom: 0;
}
.divider {
border-top: 1px solid var(--primary-accent-5);
2020-07-31 10:45:37 +00:00
width: 100%;
}
footer {
font-weight: bold;
margin: 0 auto;
max-width: 500px;
padding: 16px;
}
footer a {
padding: 0;
}