lepisi-pengumuman/public/css/index.css

252 lines
3.5 KiB
CSS

@font-face {
font-family: 'Lobster';
font-style: normal;
font-weight: 400;
src: local('Lobster'), local('Lobster-Regular'), url(/font/Lobster.woff) format('woff');
}
.documentation > section {
background: #fff;
text-align: left;
width: 90%;
max-width: 960px;
margin: 0 auto;
padding: 80px 0 0;
}
.flex>* {
padding-right: .6em;
}
.flex>h1, .flex>span {
padding: 0;
}
nav.transparent {
box-shadow: none;
background: none;
}
.pseudo.button {
background: transparent;
color: #111;
}
.shyButton {
font-size: .75em;
}
.shyFont {
font-size: .75em;
}
.top {
position: relative;
z-index: 10001;
}
td, th {
padding: .3em .45em .3em .6em;
}
.fitty {
display: inline-block;
white-space: normal;
line-height: 1em;
padding-bottom: .1em;
text-align: center;
}
.fitThis {
padding-top: 13vh;
}
#slidr-div p,
.fitty p,
.fitThis p {
margin: 0;
text-align: center;
line-height: 1.1;
padding: 0 5vw;
}
@media screen and (orientation: landscape) {
#slidr-div p,
.fitty p {
font-size: 8vw;
}
}
@media screen and (orientation: portrait) {
#slidr-div p,
.fitty p {
font-size: 10vh;
}
}
.title {
font-family: 'Lobster', cursive;
font-size: x-large;
}
.title,
.navy,
.new,
section > h2,
label,
section h1 {
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
nav .menu>.navy {
color: #000;
background-color: transparent;
margin-right: 2.5em;
}
nav .menu>.navy:hover {
background-color: rgba(17, 17, 17, .15);
}
.navy:hover, .title:hover {
color: rgba(17, 17, 17, .3);
}
.hidden-hover {
opacity: 0;
}
.hidden-hover:hover {
opacity: 1;
}
.filter a {
text-align: center;
}
.card footer {
position: absolute;
bottom: 0;
padding-left: 0;
padding-bottom: 0;
}
.card-wrapper {
margin: 0 auto;
}
.box {
padding: 1em;
background-color: rgba(17, 17, 17, .1);
border: none;
height: 17em;
width: 17em;
margin: .6em auto;
}
.new i {
position: absolute;
top: 50%;
left: 50%;
margin-right: -50%;
transform: translate(-50%, -50%);
}
.box:hover {
background-color: rgba(17, 17, 17, .05);
}
nav {
max-width: 100vw;
}
.pengumuman {
width: 100%;
}
#info span {
width: 98%;
padding: .7em 0;
margin: 0;
}
nav a {
color: inherit;
}
.filter > div {
text-align: center;
}
.rd-month button {
color: #000;
}
.rd-container {
z-index: 5;
}
h1 {
padding: .2em 0;
}
.cp {
width: 100%;
font-size: small;
text-align: center;
position: fixed;
bottom: 0;
padding: .3em;
}
.swiper-container {
height: 100vh;
}
.loading {
position: absolute;
top: 50%;
left: 50%;
}
.loading-bar {
display: inline-block;
margin: .1em;
width: 4px;
height: 18px;
border-radius: 4px;
animation: loading 1s ease-in-out infinite;
}
.loading-bar:nth-child(1) {
background-color: #3498db;
animation-delay: 0;
}
.loading-bar:nth-child(2) {
background-color: #c0392b;
animation-delay: 0.09s;
}
.loading-bar:nth-child(3) {
background-color: #f1c40f;
animation-delay: .18s;
}
.loading-bar:nth-child(4) {
background-color: #27ae60;
animation-delay: .27s;
}
@keyframes loading {
0% {
transform: scale(1);
}
20% {
transform: scale(1, 2.2);
}
40% {
transform: scale(1);
}
}
.noTrans {
transition: none;
}