nettsiden/www/css/events.css

58 lines
860 B
CSS
Raw Normal View History

2016-08-15 17:43:41 +02:00
h2 em {
display: inline-block;
color: gray;
font-size: .5em;
line-height: 2em;
float: left;
margin-right: 1em;
border: .1em solid gray;
padding: 0 1em;
border-radius: .25em;
font-style: normal;
}
h2 strong em {
background: #084;
border-color: #084;
color: white;
}
h2 img {
float: right;
max-width: 5em;
border: .2em solid white;
box-shadow: 0 2px 2px black;
margin-left: 1em;
}
article:first-child h2 img {
max-width: 10em;
}
.subtext {
margin: -1.5em 0 1em 0;
padding: 0;
list-style: none;
2016-08-26 22:16:50 +02:00
clear: left;
2016-08-15 17:43:41 +02:00
}
.subtext li {
display: inline;
margin-right: 3em;
font-size: .7em;
color: gray;
}
2016-08-26 22:16:50 +02:00
.subtext li a, .subtext li strong {
2016-08-15 17:43:41 +02:00
color: black;
font-size: 1.2em;
2016-08-26 22:16:50 +02:00
font-weight: normal;
2016-08-15 17:43:41 +02:00
}
@media screen and (max-width: 50rem) {
h2 img {
display: none;
}
.subtext {
margin-top: -1em;
}
.subtext li {
display: block;
}
2016-08-26 22:16:50 +02:00
}