|
|
|
@ -8,7 +8,7 @@
|
|
|
|
|
display: flex;
|
|
|
|
|
float: left;
|
|
|
|
|
margin: 1em;
|
|
|
|
|
border-radius: 0.25em;
|
|
|
|
|
border-radius: 0.5em;
|
|
|
|
|
box-shadow: 0.5em 0.5em $highlight;
|
|
|
|
|
transition-duration: 0.25s;
|
|
|
|
|
height: 128px;
|
|
|
|
@ -18,6 +18,10 @@
|
|
|
|
|
&:hover {
|
|
|
|
|
margin: 0.75em 1.25em 0.75em 0.75em;
|
|
|
|
|
box-shadow: 0.75em 0.75em $highlight;
|
|
|
|
|
|
|
|
|
|
a.plant-link h2.plant-title {
|
|
|
|
|
background-color: rgba(0, 0, 0, 0.5);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&:active {
|
|
|
|
@ -30,19 +34,20 @@
|
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
|
|
img {
|
|
|
|
|
border-radius: 0.25em;
|
|
|
|
|
border-radius: 0.5em;
|
|
|
|
|
height: 128px;
|
|
|
|
|
width: 256px;
|
|
|
|
|
}
|
|
|
|
|
h2.plant-title {
|
|
|
|
|
transition-duration: 0.25s;
|
|
|
|
|
position: absolute;
|
|
|
|
|
bottom: 0;
|
|
|
|
|
margin: 0;
|
|
|
|
|
width: 100%;
|
|
|
|
|
text-align: center;
|
|
|
|
|
color: white;
|
|
|
|
|
background-color: rgba(0, 0, 0, 0.1);
|
|
|
|
|
border-radius: 0.25em 0.25em 0 0;
|
|
|
|
|
background-color: rgba(0, 0, 0, 0.2);
|
|
|
|
|
border-radius: 0.5rem;
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|