lezzo.org/secretwiki/brasello.css
2022-05-14 19:29:55 +01:00

261 lines
3.7 KiB
CSS

html {
font-family:sans-serif;
color:#080808
}
body {
max-width:1366px;
margin:0 auto;
padding:1rem;
background: #f6f1ec;
color: black;
font-size: 18px;
}
h2 a {
color: purple;
text-decoration: none;
}
h2 {
color: #45818e;
}
h3 {
color: purple;
}
ul a:link {
color: #ce7e00;
text-decoration: none;
}
ul a:visited {
color: purple;
text-decoration: none;
}
ul a:hover {
color: #dfd9e6;
}
img {
max-width: 90%;
}
.index {
display:flex;
flex-direction:row
}
.index .article-list {
flex-grow:1
}
.index .article-list .article {
margin-bottom:1rem
}
.index .article-list .date {
display:block;
color:#333
}
.index aside {
width:40%
}
.index aside img {
display:block;
margin:0 auto 1rem;
border-radius:5px
}
.index aside dt {
font-size:.9rem
}
.index aside dd {
margin-left:0
}
.index aside dd:not(:last-child) {
margin-bottom:.5rem
}
@media(max-width:640px) {
.index aside {
display:none
}
}
article {
margin:0 auto;
max-width:720px;
line-height:1.3
}
article img,
article video,
article iframe {
display:block!important;
margin:0 auto!important;
max-width:90%
}
@media(max-width:640px) {
article img,
article video,
article iframe {
max-width:calc(100% - 2rem)
}
}
article .comment {
margin:2rem auto 0;
max-width:80%;
color:#333
}
.footnotes {
font-size:.85rem
}
footer {
margin-top:2rem;
text-align:center;
font-size:.8rem;
color:#333
}
.float-img {
float:right;
display:inline;
padding-left:1rem
}
@media(max-width:640px) {
.float-img {
display:block;
float:none;
padding-left:inherit
}
}
pre {
max-width: 50%;
color: purple;
}
pre .cp {
color:#800
}
pre .k {
color:#008
}
pre .kt,
pre .kd,
pre .kc {
color:#44f
}
pre .s {
color:#484;
font-style:italic
}
pre .cm,
pre .c1 {
color:#333;
font-style:italic
}
pre .gi {
color:green
}
pre .gd {
color:red
}
pre .gu {
color:blue
}
.webring {
margin-top:2rem
}
.webring h2 {
font-size:1.2rem
}
.webring .articles {
display:flex
}
@media(max-width:640px) {
.webring .articles {
flex-direction:column
}
}
.webring .title {
margin:0
}
.webring .article {
flex:1;
display:flex;
flex-direction:column;
background:#eee;
padding:.5rem;
margin:0 .5rem
}
@media(max-width:640px) {
.webring .article {
margin:.5rem 0
}
}
.webring .article:first-child {
margin-left:0
}
.webring .article:last-child {
margin-right:0
}
.webring .summary {
font-size:.8rem;
flex:1
}
.webring .attribution {
float:right;
font-size:.8rem;
color:#555;
line-height:3
}
.webring .date {
color:#000
}
summary {
cursor:pointer;
background-color:#eee;
padding:.25rem 1rem;
margin:0 -1rem
}
details[open] {
border-bottom:1rem solid #eee;
margin:0 -1rem 1rem;
padding:0 1rem
}
.text-center {
text-align:center
}
blockquote {
border-left:5px solid #bbb;
background-color:#eee;
padding:0 1rem;
margin-left:calc(-1rem - 5px);
margin-right:-1rem
}
blockquote blockquote {
margin-right:0;
margin-left:0
}
dl {
display:grid;
grid-template-columns:auto 1fr;
grid-gap:.2rem 1rem
}
dl dt {
font-weight:700;
grid-column-start:1
}
dl dd {
grid-column-start:2;
margin:0
}
.alert {
padding:.5rem;
border:1px solid transparent;
margin-bottom:1rem
}
.alert.alert-danger {
background:#f8d7da;
color:#721c24;
border-color:#f5c6cb
}
.alert.alert-info {
background:#d1ecf1;
color:#0c5460;
border-color:#bee5eb
}