event-timeline/app/static/css/partials/_layout.scss

122 lines
1.6 KiB
SCSS
Raw Normal View History

2021-11-12 16:49:35 +00:00
.intro,
.postscript,
.event {
border-bottom: 1px solid black;
max-width: 800px;
margin: auto;
}
2021-11-20 12:08:48 +00:00
2022-04-12 13:41:48 +00:00
2021-11-20 12:08:48 +00:00
2021-11-12 16:49:35 +00:00
p {
}
2022-04-12 13:59:56 +00:00
#intro {
max-width: 800px;
margin: auto;
2022-04-22 18:37:13 +00:00
line-height: 1.33em;
2022-04-12 13:59:56 +00:00
.start {
font-size: 20px;
text-align: center;
}
.reference {
color: #333;
font-size: 11px;
2022-04-22 18:37:13 +00:00
line-height: 1em;
margin-top: 64px;
}
img {
width: 100%;
margin: auto;
}
.row {
display: flex;
flex-direction: row;
gap: 20px;
.block {
width: 100%
}
}
}
2022-04-25 16:24:42 +00:00
#contact {
.content {
padding-top: 5%;
width: 640px;
height: 480px;
margin: auto;
}
input, textarea {
width: 600px;
border-radius: 4px;
border: 1px solid black;
}
input[type="submit"] {
background: none;
}
input[type="submit"]:hover {
background: red;
cursor: pointer;
}
textarea {
height: 320px
}
}
2022-04-22 18:37:13 +00:00
@media screen and (max-width: 799px) {
#intro {
margin: 16px;
.row {
display: flex;
flex-direction: column;
}
2022-04-12 13:59:56 +00:00
}
}
2021-11-12 16:49:35 +00:00
.campaigns {
color:#1abc9c;
}
.places {
color:#f39c11;
}
.actions {
color:#ff00cc;
}
.council{
color:#3399cc;
}
.event .side-by-side {
display: flex;
2021-11-20 12:08:48 +00:00
flex-direction: row;
2021-11-12 16:49:35 +00:00
}
2021-11-20 12:08:48 +00:00
.event:nth-child(2n) .side-by-side {
flex-direction: row-reverse;
}
2021-11-12 16:49:35 +00:00
.media, .text {
width: 50%;
padding: 8px;
}
.media iframe {
width: 100%;
height: 100%;
}
.media img {
width: 100%;
height: 100%;
object-fit: contain;
}
2021-11-20 12:08:48 +00:00
@media screen and (max-width: 799px) {
.media, .text {
width: 100%;
}
.event .side-by-side {
flex-direction: column;
}
.event:nth-child(2n) .side-by-side {
flex-direction: column-reverse;
}
}