nettsiden/www/css/events.css

108 lines
1.7 KiB
CSS
Raw Normal View History

h2 a, h4 a {
color: black;
text-decoration: none;
}
h2 a:hover, h4 a:hover {
text-decoration: underline;
}
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: 10em;
2016-08-15 17:43:41 +02:00
border: .2em solid white;
border-radius: 0.2em;
box-shadow: 0 2px 2px gray;
2016-08-15 17:43:41 +02:00
margin-left: 1em;
}
article:first-child h2 img {
max-width: 10em;
}
h4 {
margin-top: 0;
margin-bottom: -0.6em;
}
2016-08-15 17:43:41 +02:00
h2 + .subtext {
2016-08-15 17:43:41 +02:00
margin: -1.5em 0 1em 0;
}
p + .subtext {
margin: -0.5em 0 1em 0;
}
.subtext {
2016-08-15 17:43:41 +02:00
padding: 0;
list-style: none;
2016-08-26 23:17:59 +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 23:17:59 +02:00
font-weight: normal;
2016-08-15 17:43:41 +02:00
}
.events:before {
height: 1px;
width: 100%;
display: block;
content: " ";
background-image: -webkit-linear-gradient(left, transparent, rgba(0,0,0,.1), transparent);
background-image: -moz-linear-gradient(left, transparent, rgba(0,0,0,.1), transparent);
background-image: -o-linear-gradient(left, transparent, rgba(0,0,0,.1), transparent);
margin: 0;
padding: 0;
border: 0;
}
.events {
margin-top: -1.5em;
margin-left: 0.3em;
2018-02-20 20:45:03 +01:00
margin-bottom: 2em;
list-style: none;
padding: 0;
}
.events >li {
padding-left: 0.5em;
border-left: 4px solid #35a;
margin-top: 0.9em;
}
.events li p {
text-align: left;
}
.events .subtext {
margin-bottom: 0;
}
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
}