style images

This commit is contained in:
Geindre Colin 2021-02-11 09:07:10 +01:00
parent debb9e9052
commit 4c60b4d6c3

View file

@ -220,7 +220,7 @@ code {
.output, samp { .output, samp {
display: block; display: block;
background: rgba(19, 19, 19, .8); background: rgba(19, 19, 19, .8);
margin-top: 20px; margin: 20px 0;
font-family: monospace; font-family: monospace;
color: #ccffcc; color: #ccffcc;
border-radius: 12px; border-radius: 12px;
@ -247,6 +247,7 @@ code.block {
border-left: 10px solid #944; border-left: 10px solid #944;
line-height: 1.55; line-height: 1.55;
transition: all .3s; transition: all .3s;
margin: 20px 0;
} }
code.page { code.page {
@ -400,14 +401,6 @@ pre {
margin: 20px 0; margin: 20px 0;
} }
img.space {
margin-left: auto;
margin-right: auto;
display: block;
margin-top: 1.5ex;
margin-bottom: 1.5ex;
}
span.lbutton { span.lbutton {
position: relative; position: relative;
margin-right: 6px; margin-right: 6px;
@ -461,6 +454,29 @@ aside .yfold-title, .card .yfold-title {
font-weight: 100; font-weight: 100;
} }
img.space {
margin: 25px auto;
border-radius: 12px;
box-shadow: black 2px 2px 5px;
display: block;
}
img.float {
margin: 15px auto;
border-radius: 12px;
}
img[src*="png"] {
border: none;
background: transparent;
box-shadow: none;
}
img:hover {
transform: scale(1.05);
transition: all 0.3s;
}
/* MEDIA */ /* MEDIA */
@media (min-width: 1400px) { @media (min-width: 1400px) {
footer { footer {