133 lines
2.1 KiB
CSS
133 lines
2.1 KiB
CSS
|
.events {
|
||
|
display: grid;
|
||
|
grid-template-columns: 1fr 1.5fr .15fr;
|
||
|
padding: 6rem 0;
|
||
|
|
||
|
h4 {
|
||
|
grid-column: 1;
|
||
|
}
|
||
|
|
||
|
.event {
|
||
|
display: grid;
|
||
|
grid-template-columns: 3fr 2fr;
|
||
|
grid-template-rows: 1fr .7fr .6fr;
|
||
|
grid-column: 2;
|
||
|
background: var(--b-color);
|
||
|
padding: 1rem 2rem;
|
||
|
margin: 1rem 0 0 0;
|
||
|
border: .15rem solid var(--w-color);
|
||
|
|
||
|
.hide {
|
||
|
display: none;
|
||
|
}
|
||
|
|
||
|
.both { grid-row: 2 }
|
||
|
.bottom { grid-row: 3 }
|
||
|
|
||
|
.attend,
|
||
|
.meetup {
|
||
|
grid-column: 2;
|
||
|
text-align: right;
|
||
|
|
||
|
a {
|
||
|
display: inline-block;
|
||
|
font-size: 1rem;
|
||
|
line-height: 1.4rem;
|
||
|
|
||
|
&:hover {
|
||
|
cursor: pointer;
|
||
|
text-decoration: underline;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.info {
|
||
|
grid-column: 1;
|
||
|
grid-row: 1/4;
|
||
|
|
||
|
a {
|
||
|
display: inline-block;
|
||
|
}
|
||
|
|
||
|
h5 {
|
||
|
width: 100%;
|
||
|
color: var(--f-color);
|
||
|
font-size: 1.2rem;
|
||
|
line-height: 1.8rem;
|
||
|
text-overflow: ellipsis;
|
||
|
overflow: hidden;
|
||
|
white-space: nowrap;
|
||
|
|
||
|
&:hover {
|
||
|
color: var(--fh-color);
|
||
|
text-decoration: underline;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
p {
|
||
|
color: var(--f-color);
|
||
|
font-size: 1rem;
|
||
|
line-height: 1.4rem;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|
||
|
.past {
|
||
|
border-color: #666666;
|
||
|
|
||
|
div {
|
||
|
opacity: .4;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@media only screen and (max-width: 768px) {
|
||
|
.events {
|
||
|
grid-template-columns: 1fr;
|
||
|
padding: 4rem 1rem;
|
||
|
|
||
|
h4 {
|
||
|
margin: 0;
|
||
|
}
|
||
|
|
||
|
.event {
|
||
|
grid-template-columns: 3fr 2fr;
|
||
|
grid-column: 1;
|
||
|
padding: .5rem 1rem;
|
||
|
|
||
|
.attend,
|
||
|
.meetup {
|
||
|
font-size: .9rem;
|
||
|
line-height: 1.3rem;
|
||
|
}
|
||
|
|
||
|
.info {
|
||
|
grid-column: 1;
|
||
|
grid-row: 1/4;
|
||
|
min-width: 0;
|
||
|
|
||
|
a {
|
||
|
display: block;
|
||
|
}
|
||
|
|
||
|
h5 {
|
||
|
font-size: 1.15rem;
|
||
|
line-height: 1.6rem;
|
||
|
}
|
||
|
|
||
|
.location {
|
||
|
width: 95%;
|
||
|
text-overflow: ellipsis;
|
||
|
overflow: hidden;
|
||
|
white-space: nowrap;
|
||
|
}
|
||
|
|
||
|
p {
|
||
|
font-size: .9rem;
|
||
|
line-height: 1.3rem;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|