2018-04-16 00:33:54 +00:00
|
|
|
.container {
|
2018-03-22 02:56:41 +00:00
|
|
|
border: 1px solid #9475b2;
|
|
|
|
background-color: #fbeeff;
|
|
|
|
margin: 2px 0;
|
2018-05-20 01:16:29 +00:00
|
|
|
box-shadow: 0 1px 2px #9475b2;
|
2018-03-22 02:56:41 +00:00
|
|
|
|
2018-08-14 20:03:35 +00:00
|
|
|
.main--dark & {
|
2018-04-17 21:50:21 +00:00
|
|
|
background-color: #23172a;
|
|
|
|
}
|
2018-03-22 02:56:41 +00:00
|
|
|
|
2018-08-06 22:19:35 +00:00
|
|
|
&--hidden { // __title should always be the first element of a container
|
|
|
|
:not(:first-child) {
|
2018-05-22 02:09:53 +00:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-03-22 02:56:41 +00:00
|
|
|
&__title {
|
2018-04-16 00:33:54 +00:00
|
|
|
display: block;
|
|
|
|
text-decoration: none;
|
2018-03-22 02:56:41 +00:00
|
|
|
background-color: #9475b2;
|
|
|
|
color: #306;
|
|
|
|
font-size: 1.17em;
|
|
|
|
font-weight: 700;
|
|
|
|
padding: 3px;
|
2018-03-26 16:00:51 +00:00
|
|
|
font-family: @mio-font-heading;
|
2018-05-21 23:05:25 +00:00
|
|
|
word-wrap: break-word;
|
|
|
|
overflow: hidden;
|
2018-04-16 00:33:54 +00:00
|
|
|
|
|
|
|
&--link:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__link {
|
|
|
|
color: inherit;
|
|
|
|
text-decoration: none;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|
2018-03-22 02:56:41 +00:00
|
|
|
}
|
|
|
|
|
2018-08-06 22:19:35 +00:00
|
|
|
&__content { // only use this for text going forward, just throw your child container in directly after __title
|
2018-03-22 02:56:41 +00:00
|
|
|
margin: 2px 5px;
|
|
|
|
}
|
|
|
|
}
|