pages/css/main.css

770 lines
12 KiB
CSS
Executable file

.inline {
list-style: none;
text-align: center;
display: inline;
font-weight: bold;
}
.inline li {
display: inline-block;
padding-right: 8px;
padding-left: 8px;
}
footer {
background: #242a33;
font-size: .8em;
margin: auto;
padding-top: 20px;
padding-bottom: 20px;
text-align: center;
}
a {
color: #ffab40;
}
html {
width:100%;
height: 100%;
background-color: #2a323d;
font-family: "Roboto", sans-serif;
font-weight:normal;
line-height:1.5;
font-size: 21px;
}
body {
background: transparent;
margin: 0;
padding: 0;
overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
font-weight: 400;
line-height: 1.1;
}
h4 {
font-size: 2.28rem;
line-height: 110%;
margin: 1.14rem 0 0.912rem 0;
}
h5 {
font-size: 1.64rem;
line-height: 110%;
margin: 0.82rem 0 0.656rem 0;
}
h1:first-child {
font-family: "Pacifico", cursive, sans-serif;
}
body > h4 {
width: 95%;
max-width: 940px;
margin: 20px auto -10px auto;
color: white;
}
button, input, optgroup, select, textarea {
color: inherit;
font: inherit;
margin: 0;
}
.collection {
margin: 0.5rem 0 1rem 0;
border: none;
overflow: hidden;
position: relative;
}
ul:not(.browser-default) {
padding-left: 0;
list-style-type: none;
}
.collection.with-header .collection-header {
background-color: #242a33;
border-bottom: 1px solid #e0e0e0;
padding: 10px 20px;
color: white;
}
ul:not(.browser-default) li {
list-style-type: none;
}
.collection.with-header .collection-item {
padding-left: 30px;
}
.collection a.collection-item {
display: block;
transition: .25s;
}
.collection .collection-item {
background-color: #242a33;
line-height: 1.5rem;
padding: 10px 20px;
margin: 0;
border-top: 1px solid rgba(160,160,160,0.2) !important;
transition: 0.4s;
}
.collection .collection-item:hover {
background-color: #333c4a !important;
}
.container {
margin: 0 auto;
max-width: 1280px;
width: 95%;
text-align: justify;
}
@media only screen and (min-width: 601px) {
.container {
width:85%
}
}
@media only screen and (min-width: 993px) {
.container {
width:70%
}
}
.accordion {
cursor: pointer;
padding: 18px;
width: 100%;
text-align: left;
border: none;
outline: none;
transition: 0.4s;
background-color: #242a33;
box-sizing: border-box;
}
.accordion:not(:first-child) {
border-top: 1px solid rgba(160,160,160,0.2) !important;
}
.active, .accordion:hover {
background-color: #333c4a !important;
}
.panel {
max-height: 0;
overflow: hidden;
transition: max-height 0.2s ease-out;
}
button.accordion:focus {
background-color: unset;
}
.desc p {
display: inline;
}
.desc a {
margin-left: 1em;
}
.head {
color: white;
background-color: #333c4a;
padding: 20px;
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 3;
display: flex;
justify-content: space-between;
align-items: center;
}
.head > * {
flex-basis: 50%;
}
.sections {
text-align: right;
}
.sections div, .sections a {
display: inline;
cursor: pointer;
font-size: large;
padding: 10px;
color: white;
}
.language {
font-size: medium;
margin-left: 10px;
color: grey;
}
#puppet {
width: 100%;
height: 50vh;
background-color: #333c4a;
z-index: 2;
position: relative;
overflow: hidden;
}
#puppet + .section {
margin-top: calc(100vh - 150px);
}
#puppet canvas {
pointer-events: none;
}
#current_chat {
display: none;
width: 25%;
max-width: 900px;
box-sizing: border-box;
position: absolute;
left: calc(70% + 100px);
bottom: 18%;
transform: translateX(-50%);
color: white;
font-size: xx-large;
background-color: #242a33;
padding: 20px;
border-radius: 2px;
}
#current_chat::before {
width: 0;
height: 0;
border-top: 30px solid transparent;
border-right: 30px solid #242a33;
content: "";
position: absolute;
bottom: 15px;
right: 99%;
}
#controls {
transform: translateY(-200%);
color: grey;
font-size: 175%;
background-color: #242a3388;
padding: 20px;
}
#controls.show {
transition: transform 1s ease;
transform: translateY(0);
}
#controls p {
margin: 0;
}
#controls .inline {
width: 2rem;
}
#babble {
position: absolute;
z-index: 3;
transition: opacity .5s ease;
font-size: xx-large;
color: white;
}
#babble.hidden {
opacity: 0;
}
#babble div {
animation: babble-anim 3s infinite both;
}
@keyframes babble-anim {
0% { opacity: 0; }
25% { opacity: 1; }
80% { opacity: 0; }
100% { opacity: 0; }
}
.page-title {
font-size: xx-large;
font-weight: 400;
text-align: center;
}
.section {
margin-top: -150px;
padding-top: 150px;
}
.head + .section {
margin-top: 0;
}
.section h1 {
color: white;
text-align: center;
}
.two-section,
.three-section {
display: flex;
flex-flow: wrap;
}
.two-section .card {
width: calc(50% - 40px) !important;
}
.three-section .card {
width: calc(33% - 40px) !important;
}
.card-title a {
color: white;
}
.card-content .card-image:first-child {
margin-top: -20px;
}
@media screen and (max-width: 1200px) {
.two-section .card,
.three-section .card {
width: 95% !important;
}
}
@media screen and (max-width: 900px) {
#current_chat {
font-size: large;
padding: 10px;
}
}
@media screen and (max-width: 520px) {
.head {
padding: 10px;
}
.head h1 {
font-size: 1.5em;
}
.page-title {
font-size: large;
}
.sections div {
font-size: medium;
}
#puppet {
overflow: unset;
margin-bottom: 20vh;
}
#current_chat {
transform: none;
width: 80%;
max-width: unset;
top: 105%;
left: 10%;
bottom: unset;
font-size: x-large;
}
#current_chat::before {
border: none;
border-right: 30px solid transparent;
border-bottom: 30px solid #242a33;
bottom: 100%;
right: 10%;
top: unset;
left: unset;
}
}
@media (pointer:coarse) {
#controls {
display: none;
}
}
.card .card-content .card-title {
line-height: 48px;
}
.card .card-image .card-title {
color: #fff;
position: absolute;
bottom: 0;
left: 0;
padding: 20px;
}
.card .card-title {
font-size: 27px;
font-weight: 300;
}
.card .card-image {
position: relative;
}
.card-content .card-image {
margin: 0 -20px 20px -20px;
}
.card .card-image img,
.card .card-image video {
display: block;
border-radius: 2px 2px 0 0;
position: relative;
left: 0;
right: 0;
top: 0;
bottom: 0;
width: 100%;
}
img {
border: 0;
}
.card .card-action {
position: relative;
background-color: inherit;
border-top: 1px solid rgba(160,160,160,0.2);
padding: 20px;
box-sizing: border-box;
}
a {
text-decoration: none;
}
.card .card-action a:not(.btn):not(.btn-large):not(.btn-floating) {
color: #ffab40;
margin-right: 20px;
transition: color .3s ease;
text-transform: uppercase;
}
.card > h5 {
padding: 10px 10px 0 10px;
}
table {
margin: auto;
}
.inline form {
display: inline-block;
}
.off {
width: 95%;
max-width: 940px;
margin: auto;
margin-top: 10px;
color: gray;
}
.btn, .btn-flat {
padding: 0 !important;
}
a.btn, a.btn-flat, input.btn, input.btn-flat {
padding: 0 2rem !important;
}
.waves-effect input[type="button"], .waves-effect input[type="reset"], .waves-effect input[type="submit"] {
padding: 0 2rem !important;
height: 100% !important;
}
body > .collapsible, body > .collection, body .card, body .slider, body > .section > .collection {
width: 95% !important;
max-width:940px !important;
margin:auto !important;
margin-bottom:20px !important;
margin-top: 20px !important;
}
.collapsible-title span, .collection-header {
line-height: 48px;
font-size: 24px;
font-weight: 300;
cursor: default;
}
.collapsible-header {
color: #fff;
background-color: #242a33;
}
.collapsible-header, .collapsible-body {
border-bottom-color: #666;
}
.tabs {
background-color: #242a33;
}
.tabs .indicator {
background-color: #8a6465;
}
.collection-header {
padding: 0 1rem !important;
}
.collapsible-title div {
cursor: default;
}
.collection {
box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
}
.collection-item i {
width: 2rem;
font-size: 1.6rem;
line-height: 3rem;
display: block;
float: left;
text-align: center;
margin-right: 1rem;
margin-top: -10px;
}
[type="checkbox"] + label {
margin-right: 35px;
line-height: unset !important;
}
footer ul {
padding: 0;
display: inline;
font-weight: bold;
list-style: none;
text-align: center;
}
footer ul li {
display: inline-block;
vertical-align: middle;
white-space: nowrap;
padding-right: 8px;
padding-left: 8px;
}
.card {
background-color: #242a33;
color: #fff;
position: relative;
margin: 0.5rem 0 1rem 0;
transition: box-shadow .25s;
border-radius: 2px;
}
.card .card-content {
padding: 20px;
border-radius: 0 0 2px 2px;
}
.card .card-content p {
margin: 15px 0;
}
.card .card-content p:first-child {
margin-top: 0;
}
.card .card-content p:last-child {
margin-bottom: 0;
}
.card .card-content .card-title ~ p {
margin-top: 0;
}
.card .card-image .card-title {
padding: 0 8px;
margin: 20px;
border-radius: 20px;
opacity: .75;
background-color: #333c4a;
}
.card-content .card-image.shrink {
width: 50%;
margin: auto;
margin-bottom: 20px;
}
.card-content p img {
display: block;
border-radius: 2px 2px 0 0;
position: relative;
left: 0;
right: 0;
top: 0;
bottom: 0;
width: 100%;
}
.chip {
background: none;
font-size: 12px;
line-height: 18px;
height: unset;
margin-top: 0;
float: right;
display: inline-block;
font-weight: 500;
color: rgba(0,0,0,0.6);
padding: 0 12px;
border-radius: 16px;
margin-bottom: 5px;
margin-right: 5px;
}
.chip a {
color: #ffab40;
}
.card .collapsible {
border: none;
box-shadow: none;
border-top: 1px solid #666;
}
.indicator-item {
background-color: rgba(156, 165, 180, 0.5) !important;
}
.indicator-item.active {
background-color: rgba(156, 165, 180, 1) !important;
}
h1 {
margin: 1.2rem;
}
.collapsible-body p {
padding: unset;
}
.card-content p:first-child img:first-child {
margin: -20px;
width: calc(100% + 40px);
}
.card .card-content .card-caption:last-child {
margin-top: 35px;
margin-bottom: -5px;
}
.embed {
position: relative;
margin: -20px;
margin-bottom: -25px;
}
.embed > button {
position: absolute;
bottom: 15px;
right: 10px;
width: 30px;
height: 30px;
background: none;
border: none;
padding: 0;
}
.embed > iframe {
width: 100%;
height: 500px;
}
.container .chip {
background-color: #2a323d;
float: unset;
font-size: 16px;
margin: 4px;
padding: 6px 12px;
}
.carousel {
position: relative;
height: 815px;
}
.slides {
width: 100%;
height: 100%;
position: relative;
}
.slide {
position: absolute;
top: 0;
left: 0;
height: 100%;
width: 100%;
opacity: 0;
pointer-events: none;
transition: opacity 250ms;
}
.slide img:not(.vertical) {
width: 100%;
}
.slide img.vertical {
float: left;
height: calc(100% - 40px);
}
.slide img.vertical ~ .slide-desc {
height: calc(100% - 50px);
width: calc(100% - 440px);
float: right;
}
.slide-desc {
margin: 15px;
overflow-y: auto;
height: 9em;
}
.indicators {
position: absolute;
bottom: 5px;
right: 50%;
transform: translate(50%);
}
.indicator {
cursor: pointer;
}
.slide.active-slide {
opacity: 1;
pointer-events: initial;
}