pages/css/main.css

278 lines
4.3 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 {
font-size: .8em;
width: 90%;
max-width: 900px;
margin: auto;
margin-top: 20px;
padding-bottom: 10px;
}
a {
color: #ffab40;
}
html {
width:100%;
height: 100%;
background-color: #2a323d;
}
body {
background: transparent;
margin: 0;
padding: 0;
margin-bottom: 10px;
}
body > h4 {
width: 90%;
max-width: 940px;
margin: 20px auto -10px auto;
color: white;
}
.card > h5 {
padding: 10px 10px 0 10px;
}
.head {
background-color: #333c4a;
box-shadow: 0 2px 3px #222;
padding: 20px;
padding-bottom: 40px;
margin-bottom: -50px;
text-align: center;
}
table {
margin: auto;
}
.inline form {
display: inline-block;
}
.off {
width: 90%;
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 > .carousel, body .slider {
width: 90% !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;
box-shadow: 2px 2px 3px #222;
}
.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 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: 12px;
}
.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;
}
.carousel .indicators .indicator-item {
margin: 16px 4px;
}
.carousel.carousel-slider {
min-height: 400px !important;
}
h1 {
margin: 1.2rem;
}
.carousel .indicators {
left: 120px;
right: 120px;
}
.collapsible-body p {
padding: unset;
}
.card-content p:only-child img:only-child {
margin: -20px;
width: calc(100% + 40px);
}
.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;
}