oasis/public/style.css

128 lines
1.9 KiB
CSS
Raw Normal View History

html {
align-items: center;
display: flex;
font-family: system-ui,
-apple-system, BlinkMacSystemFont,
"Segoe UI", "Roboto", "Oxygen",
"Ubuntu", "Cantarell", "Fira Sans",
"Droid Sans", "Helvetica Neue", sans-serif;
font-size: 12pt;
justify-content: center;
line-height: 1.5;
margin: 0;
padding: 0;
}
/* https://www.desmos.com/calculator/3elcf5cwhn */
h1 { font-size: 150%; }
h2 { font-size: 128%; }
h3 { font-size: 120%; }
h4 { font-size: 116%; }
h5 { font-size: 113%; }
h6 { font-size: 111%; }
h1, h2, h3, h4, h5, h6 {
margin: 0.5em 0;
}
2019-06-25 17:18:45 +00:00
pre {
2019-06-25 16:52:34 +00:00
overflow-x: auto;
}
.message img {
max-width: 100%;
}
.message > :first-child {
margin-top: 0;
padding-top: 0;
}
.message > :last-child {
margin-bottom: 0;
padding-bottom: 0;
}
.message code {
color: hsl(330, 75%, 50%)
}
2019-06-25 16:52:34 +00:00
.message pre code {
color: inherit;
}
@media screen {
html {
min-height: 100%;
background: hsl(240, 100%, 99%);
}
body {
max-width: 40rem;
padding: 1.5rem;
}
}
.message {
background: #fff;
padding: 1.5rem;
margin: 1rem 0;
border-radius: 2px;
border: 1px solid #ddd;
}
.message > header {
height: 1.5rem;
display: flex;
}
.message > header > a > .avatar {
width: 1.5rem;
height: 1.5rem;
border-radius: 2px;
padding-right: 0.5rem;
}
.message > header > .text > .author {
font-weight: bold;
}
.message > header > .text > .author > a {
color: black;
text-decoration: none;
}
.message > footer > a {
color: #888;
margin-right: 1rem;
text-decoration: none;
font-weight: bold;
}
nav a {
color: #888;
margin-right: 1rem;
text-decoration: none;
font-weight: bold;
}
.profile {
margin-top: 1rem;
display: flex;
margin-bottom: 1rem;
}
.profile > img, .profile > h1 {
display: inline-block;
}
.profile > img {
width: 4rem;
height: 4rem;
margin-right: 1rem;
border-radius: 2px;
}
ul {
padding-left: 1rem;
}
2019-06-25 16:52:34 +00:00
a {
color: hsl(240, 66%, 66%);
}