67 lines
1004 B
CSS
67 lines
1004 B
CSS
/* root */
|
|
:root {
|
|
--lr-width: 45%;
|
|
}
|
|
|
|
/* desktop mode */
|
|
@media only screen and (min-width: 100ch) {
|
|
#master {
|
|
width: 95ch;
|
|
}
|
|
div#master #left {
|
|
float: left;
|
|
text-align: left;
|
|
width: var(--lr-width);
|
|
}
|
|
div#master #right {
|
|
float: right;
|
|
text-align: right;
|
|
width: var(--lr-width);
|
|
}
|
|
p#blogpreview a {
|
|
max-width: 30ch;
|
|
}
|
|
}
|
|
/* mobile mode */
|
|
@media only screen and (max-width: 100ch) {
|
|
#master {
|
|
width: 85%;
|
|
}
|
|
p#blogpreview a {
|
|
max-width: 50vw;
|
|
}
|
|
}
|
|
|
|
html, body {
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
div#master header {
|
|
text-align: center;
|
|
font-size: 30px;
|
|
}
|
|
div#group hgroup {
|
|
text-align: center;
|
|
}
|
|
#font, p, ul, ol {
|
|
font-family: sans-serif;
|
|
color: white;
|
|
}
|
|
p#blogpreview a {
|
|
float: left;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
p#blogpreview span {
|
|
float: right;
|
|
}
|
|
a {
|
|
font-family: sans-serif;
|
|
text-decoration: none;
|
|
color: #ea83a5;
|
|
}
|
|
a:hover, a:active {
|
|
font-style: italic;
|
|
}
|