Files
tagslice/tagslice.css
2017-06-15 22:52:17 +00:00

107 lines
1.5 KiB
CSS

@import url('https://fonts.googleapis.com/css?family=Roboto:400');
:root {
/* Highly approximate color names from our pallette */
--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);
color: var(--darkgrey);
font-family: 'Roboto';
}
tag {
display: flex;
flex-direction: column;
flex-shrink: 0;
width: 100%;
max-width: 50rem;
margin-top: 0.5rem;
margin-bottom: 2rem;
}
tagName {
display: block;
color: var(--darkgrey);
font-size: x-large;
margin-bottom: 0.5rem;
}
card {
display: flex;
flex-direction: column;
border: 1px solid var(--lightgrey);
border-radius: 0.25rem;
padding: 0.75rem;
margin: 0.5rem;
}
cardTitle {
color: var(--blue);
font-size: large;
cursor: pointer;
}
cardTitle::selection {
background: transparent;
}
cardDetail {
display: none;
flex-direction: column;
}
card.expanded cardDetail, tagList.expandAll cardDetail {
display: flex;
}
cardSection {
display: flex;
flex-direction: column;
margin-top: 1rem;
}
cardSectionTitle {
opacity: 0.6;
font-size: 85%;
margin-bottom: 0.2rem;
}
cardSectionText {
font-size: 90%;
}
referenceList {
display: flex;
flex-direction: row;
flex-wrap: wrap;
margin-top: 1rem;
}
referenceList a {
color: var(--darkgrey);
font-size: 85%;
margin-right: 1rem;
margin-bottom: 0.5rem;
}