Files
tagslice/tagslice.css

88 lines
1.2 KiB
CSS
Raw Normal View History

2017-06-15 04:30:49 +00:00
@import url('https://fonts.googleapis.com/css?family=Roboto:400,600');
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
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 04:30:49 +00:00
card.expanded cardDetail {
display: flex;
}
2017-06-15 04:30:49 +00:00
cardSection {
display: flex;
flex-direction: column;
margin-top: 1rem;
}
cardSectionTitle {
font-weight: 600;
}
cardSectionText {
margin-top: 0.2rem;
}