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

225 lines
3.4 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
2021-11-12 16:49:35 +00:00
p {
}
2022-04-25 16:24:42 +00:00
#contact {
.content {
2022-04-26 14:25:34 +00:00
padding-top: 64px;
2022-04-25 16:24:42 +00:00
width: 640px;
2022-04-26 14:25:34 +00:00
max-width: calc(100% - 16px);
2022-04-25 16:24:42 +00:00
height: 480px;
margin: auto;
}
input, textarea {
width: 600px;
2022-04-26 14:25:34 +00:00
max-width: 100%;
2022-04-25 16:24:42 +00:00
border-radius: 4px;
border: 1px solid black;
}
input[type="submit"] {
background: none;
}
input[type="submit"]:hover {
2022-04-26 14:25:34 +00:00
font-weight: bold;
2022-04-25 16:24:42 +00:00
cursor: pointer;
}
textarea {
height: 320px
}
}
2022-04-29 12:30:32 +00:00
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 {
2022-04-26 11:54:23 +00:00
font-weight: bold;
//color:#1abc9c;
2021-11-12 16:49:35 +00:00
}
.places {
2022-04-26 11:54:23 +00:00
font-weight: bold;
//color:#f39c11;
2021-11-12 16:49:35 +00:00
}
.actions {
2022-04-26 11:54:23 +00:00
font-weight: bold;
//color:#ff00cc;
2021-11-12 16:49:35 +00:00
}
.council{
2022-04-26 11:54:23 +00:00
font-weight: bold;
//color:#3399cc;
2021-11-12 16:49:35 +00:00
}
2022-04-26 11:54:23 +00:00
2021-11-12 16:49:35 +00:00
.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;
}
}
2022-04-26 14:25:34 +00:00
.page {
display: none;
}
.page.active {
display: inherit;
}
2022-04-29 12:22:10 +00:00
#title, #about, #imprint {
2022-04-26 14:25:34 +00:00
background-image: url("/media/image/birds_medium.jpg");
background-size: cover;
2022-04-29 12:31:54 +00:00
overflow-y: auto;
2022-04-26 14:25:34 +00:00
&.active {
display: flex;
}
.content {
margin: auto;
2022-04-29 13:51:52 +00:00
user-select: text;
2022-04-26 14:25:34 +00:00
.start {
font-size: 36px;
display: block;
width: 100%;
text-align: center;
2022-04-26 14:41:03 +00:00
font-family: 'PT Sans Narrow',sans-serif;
2022-04-26 14:25:34 +00:00
}
2022-04-29 12:30:32 +00:00
p {
a, a:visited, a:active, a:hover {
color: #c34528;
}
}
2022-04-26 14:25:34 +00:00
}
2022-04-29 12:22:10 +00:00
.reference {
color: #333;
font-size: 11px;
line-height: 1em;
margin-top: 64px;
}
2022-04-26 14:25:34 +00:00
.credit {
position: fixed;
left: 5px;
bottom: 5px;
color: #000;
}
}
2022-04-29 12:22:10 +00:00
#title {
.content {
margin-top: 256px;
}
}
#about, #imprint {
.content {
max-width: 800px;
margin: auto;
color: #ddd;
background-color: rgba(1,1,1, 0.5);
border-radius: 10px;
padding: 16px;
font-size: 20px;
h2,p {
color: #ddd;
}
p {
font-size: 20px;
}
}
}
2022-04-26 14:25:34 +00:00
@media screen and (max-width: 799px) {
2022-04-29 12:22:10 +00:00
#title, #about {
2022-04-26 14:25:34 +00:00
.content {
2022-04-26 14:30:23 +00:00
margin-top: 64px;
2022-04-26 14:41:03 +00:00
text-align: center;
2022-04-26 14:25:34 +00:00
}
}
}
#contact {
background-image: url("/media/image/birds_medium.jpg");
background-size: cover;
input, textarea {
background: transparent;
color: #fff;
}
}
#menu {
position: fixed;
right: 0;
top: 0;
z-index: 101;
}
#menu-overlay {
z-index: 100;
position: fixed;
display: none;
bottom: 0;
left: 0;
right: 0;
top: 0;
background: #fff;
background-image: url("/media/image/birds_medium.jpg");
background-size: cover;
&.active {
display: flex;
}
ul {
margin: auto;
margin-right: 16px;
margin-top: 64px;
text-align: right;
list-style-type: none;
padding: 0;
li {
2022-04-26 14:41:03 +00:00
font-family: 'PT Sans Narrow',sans-serif;
2022-04-26 14:25:34 +00:00
line-height: 1.5em;
font-size: 36px;
a, a:visited, a:active, a:hover {
}
}
}
}