pages/css/main.css

777 lines
12 KiB
CSS
Raw Normal View History

.inline {
list-style: none;
text-align: center;
display: inline;
font-weight: bold;
2016-04-24 03:31:22 +00:00
}
.inline li {
display: inline-block;
padding-right: 8px;
padding-left: 8px;
2015-11-04 22:59:46 +00:00
}
2016-03-06 07:51:46 +00:00
footer {
background: #242a33;
font-size: .8em;
margin: auto;
padding-top: 20px;
padding-bottom: 20px;
text-align: center;
2015-11-04 22:59:46 +00:00
}
2017-02-23 23:04:13 +00:00
a {
color: #ffab40;
}
html {
width:100%;
height: 100%;
2017-02-23 23:04:13 +00:00
background-color: #2a323d;
2018-03-16 16:11:55 +00:00
font-family: "Roboto", sans-serif;
font-weight:normal;
line-height:1.5;
2019-11-16 06:46:06 +00:00
font-size: 21px;
2016-03-06 07:51:46 +00:00
}
body {
background: transparent;
margin: 0;
padding: 0;
2019-10-31 02:23:39 +00:00
overflow-x: hidden;
2016-03-06 07:51:46 +00:00
}
2018-03-16 16:11:55 +00:00
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;
}
2018-03-16 16:11:55 +00:00
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%;
2018-03-16 16:11:55 +00:00
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;
2019-11-16 10:24:09 +00:00
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;
}
2019-11-09 17:31:58 +00:00
.sections div, .sections a {
display: inline;
cursor: pointer;
font-size: large;
padding: 10px;
color: white;
}
2019-11-16 10:24:09 +00:00
.language {
font-size: medium;
margin-left: 10px;
color: grey;
}
#puppet {
width: 100%;
2019-11-16 10:24:09 +00:00
height: 50vh;
background-color: #333c4a;
z-index: 2;
2019-11-16 10:24:09 +00:00
position: relative;
overflow: hidden;
}
2019-11-16 10:24:09 +00:00
#puppet + .section {
margin-top: calc(100vh - 150px);
}
2019-11-16 10:24:09 +00:00
#puppet canvas {
2019-10-31 02:23:39 +00:00
pointer-events: none;
}
#current_chat {
display: none;
2019-11-16 10:24:09 +00:00
width: 25%;
2019-10-31 02:23:39 +00:00
max-width: 900px;
box-sizing: border-box;
position: absolute;
2019-11-16 10:24:09 +00:00
left: calc(70% + 100px);
bottom: 18%;
transform: translateX(-50%);
color: white;
font-size: xx-large;
background-color: #242a33;
padding: 20px;
border-radius: 2px;
}
2019-11-16 10:24:09 +00:00
#current_chat::before {
width: 0;
height: 0;
border-top: 30px solid transparent;
border-right: 30px solid #242a33;
content: "";
position: absolute;
2019-11-16 10:24:09 +00:00
bottom: 15px;
right: 99%;
}
#controls {
2019-11-16 14:56:35 +00:00
transform: translateY(-200%);
color: grey;
2019-11-16 15:08:09 +00:00
font-size: 175%;
background-color: #242a3388;
padding: 20px;
2019-11-16 14:56:35 +00:00
}
#controls.show {
2019-11-16 10:24:09 +00:00
transition: transform 1s ease;
2019-11-16 14:56:35 +00:00
transform: translateY(0);
2019-11-16 10:24:09 +00:00
}
#controls p {
margin: 0;
}
#controls .inline {
width: 2rem;
2018-03-16 16:11:55 +00:00
}
2019-11-16 14:56:35 +00:00
#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; }
}
2018-03-16 16:11:55 +00:00
.page-title {
font-size: xx-large;
2018-03-16 16:11:55 +00:00
font-weight: 400;
text-align: center;
}
.section {
margin-top: -150px;
padding-top: 150px;
2018-03-16 16:11:55 +00:00
}
.head + .section {
margin-top: 0;
}
.section h1 {
color: white;
text-align: center;
}
.two-section,
2020-11-05 20:44:00 +00:00
.three-section,
.four-section {
display: flex;
flex-flow: wrap;
}
.two-section .card {
width: calc(50% - 40px) !important;
}
.three-section .card {
width: calc(33% - 40px) !important;
}
2020-11-05 20:44:00 +00:00
.four-section .card {
width: calc(25% - 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,
2020-11-05 20:44:00 +00:00
.three-section .card,
.four-section .card {
width: 95% !important;
}
}
2019-11-16 10:24:09 +00:00
@media screen and (max-width: 900px) {
#current_chat {
font-size: large;
padding: 10px;
}
}
@media screen and (max-width: 520px) {
2019-10-31 02:23:39 +00:00
.head {
padding: 10px;
}
.head h1 {
font-size: 1.5em;
}
.page-title {
font-size: large;
}
.sections div {
font-size: medium;
}
2019-11-16 10:24:09 +00:00
#puppet {
overflow: unset;
margin-bottom: 20vh;
2019-10-31 02:23:39 +00:00
}
2019-11-16 10:24:09 +00:00
#current_chat {
transform: none;
width: 80%;
max-width: unset;
top: 105%;
left: 10%;
bottom: unset;
font-size: x-large;
2019-10-31 02:23:39 +00:00
}
2019-11-16 10:24:09 +00:00
#current_chat::before {
border: none;
border-right: 30px solid transparent;
border-bottom: 30px solid #242a33;
bottom: 100%;
right: 10%;
top: unset;
left: unset;
2019-10-31 02:23:39 +00:00
}
}
2019-10-31 02:23:39 +00:00
@media (pointer:coarse) {
2019-10-31 07:11:23 +00:00
#controls {
display: none;
}
2019-10-31 02:23:39 +00:00
}
2018-03-16 16:11:55 +00:00
.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 {
2019-11-16 06:46:06 +00:00
font-size: 27px;
2018-03-16 16:11:55 +00:00
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 {
2018-03-16 16:11:55 +00:00
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;
2016-03-06 07:51:46 +00:00
}
.inline form {
display: inline-block;
2016-03-06 07:51:46 +00:00
}
.off {
width: 95%;
max-width: 940px;
margin: auto;
margin-top: 10px;
color: gray;
2016-03-06 07:51:46 +00:00
}
.btn, .btn-flat {
padding: 0 !important;
2016-03-06 07:51:46 +00:00
}
a.btn, a.btn-flat, input.btn, input.btn-flat {
padding: 0 2rem !important;
2016-03-06 07:51:46 +00:00
}
.waves-effect input[type="button"], .waves-effect input[type="reset"], .waves-effect input[type="submit"] {
padding: 0 2rem !important;
height: 100% !important;
2016-03-06 07:51:46 +00:00
}
2020-08-01 17:52:43 +00:00
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;
}
2017-02-23 23:04:13 +00:00
.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;
2016-03-06 07:51:46 +00:00
}
.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;
}
2017-02-23 23:04:13 +00:00
.card {
background-color: #242a33;
color: #fff;
2018-03-16 16:11:55 +00:00
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;
2017-02-23 23:04:13 +00:00
}
.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 {
2017-02-23 23:04:13 +00:00
background: none;
font-size: 12px;
line-height: 18px;
height: unset;
2018-03-16 16:11:55 +00:00
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;
}
2017-02-23 23:04:13 +00:00
.chip a {
color: #ffab40;
}
.card .collapsible {
border: none;
box-shadow: none;
border-top: 1px solid #666;
}
.indicator-item {
2017-02-23 23:04:13 +00:00
background-color: rgba(156, 165, 180, 0.5) !important;
}
.indicator-item.active {
2017-02-23 23:04:13 +00:00
background-color: rgba(156, 165, 180, 1) !important;
2016-04-24 03:31:22 +00:00
}
h1 {
margin: 1.2rem;
}
2016-04-24 03:31:22 +00:00
.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;
}
2018-03-16 16:11:55 +00:00
.container .chip {
background-color: #2a323d;
float: unset;
font-size: 16px;
margin: 4px;
padding: 6px 12px;
}
2018-04-19 17:45:57 +00:00
.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;
}