This repository has been archived on 2026-05-05. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
cardmaker/resources/cards/svg.css
T
pederbs b771cf5343 Make card template and svg browser get colored SVGs instead of filtering them
This fixes the issue of SVGs being rasterized to 72DPI when printing
2017-11-16 21:54:06 +01:00

60 lines
864 B
CSS

ul {
margin: 0;
padding: 0;
}
li {
list-style-type: none;
display: inline-block;
width: 10em;
height: 10em;
padding: 0;
margin: 1em 0.3em;
overflow: hidden;
border: solid 1px black;
border-radius: 0.2em;
}
li:hover {
border-color: #888;
background-color: #ddf;
}
li h1 {
text-align: center;
font-size: 1em;
line-height: 1em;
}
img {
display: block;
max-width: 100%;
max-height: 6.8em;
width: auto;
height: 6.8em;
margin: 0 auto;
/*filter: invert(1) opacity(0.8);*/
/*filter: brightness(0) opacity(0.8);*/
}
body >h1,
form {
text-align: center;
}
h4 {
margin:0;
}
.vsplit {
width: 100%;
overflow: hidden;
display: flex;
flex-direction: row;
flex-wrap: nowrap;
justify-content: space-around;
}
.vsplit >* {
flex-grow: 1;
}