Files
tagslice/tagslice.css

107 lines
1.5 KiB
CSS
Raw Normal View History

2017-06-15 04:35:50 +00:00
@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-15 04:30:49 +00:00
color: var(--darkgrey);
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
2017-06-15 22:52:17 +00:00
margin-top: 0.5rem;
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;
}
2017-06-15 04:30:49 +00:00
cardDetail {
display: none;
2017-06-15 04:30:49 +00:00
flex-direction: column;
}
2017-06-15 22:52:17 +00:00
card.expanded cardDetail, tagList.expandAll cardDetail {
2017-06-15 04:30:49 +00:00
display: flex;
}
2017-06-15 04:30:49 +00:00
cardSection {
display: flex;
flex-direction: column;
margin-top: 1rem;
}
cardSectionTitle {
2017-06-15 22:52:17 +00:00
opacity: 0.6;
font-size: 85%;
margin-bottom: 0.2rem;
2017-06-15 04:30:49 +00:00
}
cardSectionText {
2017-06-15 04:34:16 +00:00
font-size: 90%;
}
2017-06-15 22:52:17 +00:00
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;
}