Files
tagslice/tagslice.css

74 lines
1.0 KiB
CSS
Raw Normal View History

@import url('https://fonts.googleapis.com/css?family=Roboto:400');
2017-06-12 20:23:51 +00:00
:root {
/* Highly approximate color names from our pallette */
2017-06-12 22:28:42 +00:00
--white: rgb(255,255,255);
--lightgrey: rgb(238,238,238);
--darkgrey: rgb(81,81,81);
--blue: rgb(0,180,255);
}
tagList {
display: flex;
flex-direction: column;
align-items: center;
overflow: scroll;
width: 100%;
height: 100%;
background-color: var(--white);
2017-06-12 20:23:51 +00:00
font-family: 'Roboto';
}
tag {
2017-06-12 20:23:51 +00:00
display: flex;
flex-direction: column;
flex-shrink: 0;
width: 100%;
max-width: 50rem;
2017-06-12 20:23:51 +00:00
margin-bottom: 2rem;
2017-06-12 20:23:51 +00:00
}
tagName {
display: block;
2017-06-12 20:23:51 +00:00
color: var(--darkgrey);
font-size: x-large;
2017-06-12 20:23:51 +00:00
margin-bottom: 0.5rem;
2017-06-12 20:23:51 +00:00
}
card {
display: flex;
flex-direction: column;
2017-06-12 22:28:42 +00:00
border: 1px solid var(--lightgrey);
border-radius: 0.25rem;
padding: 0.75rem;
margin: 0.5rem;
}
2017-06-12 22:28:42 +00:00
cardTitle {
2017-06-12 20:23:51 +00:00
color: var(--blue);
font-size: large;
cursor: pointer;
2017-06-12 22:28:42 +00:00
}
cardTitle::selection {
background: transparent;
}
cardText {
display: none;
color: var(--darkgrey);
margin-top: 0.5rem;
}
card.expanded cardText {
display: block;
}