Archived
1
0
This repository has been archived on 2020-12-10. You can view files and clone it, but cannot push or open issues or pull requests.
old/assets/css/home.css

408 lines
9.2 KiB
CSS

/* Main slider */
#main-slider .carousel-item {
height: calc(100vh - 60px);
background: no-repeat center;
-moz-background-size: cover;
-o-background-size: cover;
-webkit-background-size: cover;
background-size: cover;
}
#main-slider .carousel-item .carousel-caption {
position: absolute;
top: 0;
display: block !important;
height: 600px;
opacity: 0;
-moz-transition: opacity ease-in-out 500ms;
-o-transition: opacity ease-in-out 500ms;
-webkit-transition: opacity ease-in-out 500ms;
transition: opacity ease-in-out 500ms;
}
#main-slider .carousel-item.active .carousel-caption {
opacity: 1;
-moz-transition: opacity ease-in-out 500ms;
-o-transition: opacity ease-in-out 500ms;
-webkit-transition: opacity ease-in-out 500ms;
transition: opacity ease-in-out 500ms;
}
#main-slider .carousel-item .carousel-caption .container {
position: relative;
top: auto;
}
#main-slider .carousel-item .carousel-content {
margin-top: 139px;
}
#main-slider .carousel-item .boxed {
padding: 10px 15px;
border-radius: 10px;
background-color: rgba(0, 0, 0, 0.8);
cursor: default;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
#main-slider .carousel-item a.boxed {
cursor: pointer;
}
#main-slider .carousel-item h2 {
color: #fff;
}
#main-slider .carousel-item p {
display: inline-block;
width: 100%;
}
#main-slider .carousel-item .btn {
box-sizing: border-box;
margin-top: 5px;
border: 3px solid rgba(255, 255, 255, 0.5);
color: #fff;
transition: ease-in-out .1s;
}
#main-slider .carousel-item .btn:hover {
padding: 13px 18px;
border-width: 0;
}
#main-slider .active .animation.animated-item-1 {
-webkit-animation: fadeInUp 300ms linear 300ms both;
-moz-animation: fadeInUp 300ms linear 300ms both;
-o-animation: fadeInUp 300ms linear 300ms both;
-ms-animation: fadeInUp 300ms linear 300ms both;
animation: fadeInUp 300ms linear 300ms both;
}
#main-slider .active .animation.animated-item-2 {
-webkit-animation: fadeInUp 300ms linear 600ms both;
-moz-animation: fadeInUp 300ms linear 600ms both;
-o-animation: fadeInUp 300ms linear 600ms both;
-ms-animation: fadeInUp 300ms linear 600ms both;
animation: fadeInUp 300ms linear 600ms both;
}
#main-slider .active .animation.animated-item-3 {
-webkit-animation: fadeInUp 300ms linear 900ms both;
-moz-animation: fadeInUp 300ms linear 900ms both;
-o-animation: fadeInUp 300ms linear 900ms both;
-ms-animation: fadeInUp 300ms linear 900ms both;
animation: fadeInUp 300ms linear 900ms both;
}
#main-slider .active .animation.animated-item-4 {
-webkit-animation: fadeInUp 300ms linear 1200ms both;
-moz-animation: fadeInUp 300ms linear 1200ms both;
-o-animation: fadeInUp 300ms linear 1200ms both;
-ms-animation: fadeInUp 300ms linear 1200ms both;
animation: fadeInUp 300ms linear 1200ms both;
}
.yt-channel-title {
margin-bottom: 12px;
}
.yt-channel-title img {
display: inline-block;
width: 80px;
border-radius: 100%;
}
.yt-channel-title h3 {
display: inline-block;
margin: 0 14px;
}
.tilted-column {
position: relative;
transform: skewX(-6deg);
display: inline-block;
overflow: hidden;
width: calc((100% / 3) + 6px + (32px / 3));
height: 33vw;
margin-left: -6px;
border-right: 10px solid transparent;
}
.tilted-column:nth-child(3n+1) {
margin-right: 0 !important;
margin-left: -24px;
}
.tilted-column:nth-child(3n+3) {
margin-right: -32px;
border-right: 0;
}
.tilted-column > .column-image {
transform: skewX(6deg) scale(1.1);
width: 100%;
transition: transform .8s;
}
.tilted-column > .column-caption {
position: absolute;
top: 100%;
left: 56%;
transform: skewX(6deg) translate(-50%, 0);
width: 75%;
opacity: 0;
transition: all .8s;
}
.tilted-column > .column-caption > .column-title,
.tilted-column > .column-caption > .column-desc {
padding: 4px 16px;
border-radius: 10px;
background-color: rgba(0, 0, 0, .8);
color: #fff;
font-size: 2.5vw;
}
.tilted-column > .column-caption > .column-desc {
width: 100%;
font-size: 1.25vw;
font-weight: bolder;
}
.tilted-column:hover > .column-image {
transform: skewX(6deg) scale(1.5);
}
.tilted-column:hover > .column-caption {
top: 50%;
left: 54%;
transform: skewX(6deg) translate(-50%, -50%);
opacity: 1;
}
@media (max-width: 767px) {
.tilted-column {
width: calc(50% + 6px + (32px / 2));
height: 50vw;
}
.tilted-column:nth-child(3n+1) {
margin-left: -6px;
}
.tilted-column:nth-child(3n+3) {
margin-right: 0;
border-right: 10px solid transparent;
}
.tilted-column:nth-child(2n+1) {
margin-right: 0 !important;
margin-left: -24px;
}
.tilted-column:nth-child(2n + 2) {
margin-right: -32px !important;
border-right: none;
}
.tilted-column > .column-caption > .column-title {
font-size: 4vw;
}
.tilted-column > .column-caption > .column-desc {
font-size: 2.5vw;
}
}
@media (max-width: 575px) {
.tilted-column {
transform: none;
width: 100%;
height: 100vw;
margin: 10px 0 !important;
}
.tilted-column > .column-image {
transform: none;
}
.tilted-column > .column-caption {
left: 50%;
transform: translate(0, -50%);
}
.tilted-column:hover > .column-image {
transform: scale(1.5);
}
.tilted-column:hover > .column-caption {
left: 50%;
transform: translate(-50%, -50%);
}
}
.grid-kod-network {
grid-template-areas: "posts" "active" "newest";
}
@media (min-width: 768px) {
.grid-kod-network {
grid-template-areas: "posts posts" "active newest";
}
}
@media (min-width: 992px) {
.grid-kod-network {
grid-template-areas: "active posts" "newest posts";
}
}
.grid-kod-network > .item-active {
grid-area: active;
}
.grid-kod-network > .item-newest {
grid-area: newest;
}
.grid-kod-network > .item-posts {
grid-area: posts;
}
/* Backgrounds for social media posts */
.bg-twitter {
background-color: #4099FF;
}
.bg-youtube {
background-color: #e52d27;
}
/* Social Media table */
.social-media-list {
width: 100%;
}
.social-media-list .social-media-item {
display: inline-block;
margin: 5px 3px;
padding: 5px 0;
border-radius: 10px;
transition: background-color .25s, color .25s !important;
}
.social-media-list .social-media-item h4 {
font-size: 16px;
font-weight: 300;
text-align: center;
}
.social-media-list .social-media-item a {
display: block;
width: 64px;
margin: 0 auto;
}
.social-media-list .social-media-item.twitter .icon-md,
.social-media-list .social-media-item.twitter:hover {
background-color: #4099FF;
color: #fff;
}
.social-media-list .social-media-item.youtube .icon-md,
.social-media-list .social-media-item.youtube:hover {
background-color: #e52d27;
color: #fff;
}
.social-media-list .social-media-item.google-plus .icon-md,
.social-media-list .social-media-item.google-plus:hover {
background-color: #d34836;
color: #fff;
}
.social-media-list .social-media-item._500px .icon-md,
.social-media-list .social-media-item._500px:hover {
background-color: #0099e5;
color: #fff;
}
.social-media-list .social-media-item.patreon .icon-md,
.social-media-list .social-media-item.patreon:hover {
background-color: #E6461A;
color: #fff;
}
.social-media-list .social-media-item.steam .icon-md,
.social-media-list .social-media-item.steam:hover {
background-color: #0A2341;
color: #fff;
}
.social-media-list .social-media-item.github .icon-md,
.social-media-list .social-media-item.github:hover {
background-color: #000;
color: #fff;
}
.social-media-list .social-media-item.twitch .icon-md,
.social-media-list .social-media-item.twitch:hover {
background-color: #6441A4;
color: #fff;
}
.social-media-list .social-media-item.spotify .icon-md,
.social-media-list .social-media-item.spotify:hover {
background-color: #1ED760;
color: #fff;
}
.social-media-list .social-media-item.twitter:hover .icon-md {
background-color: white;
color: #4099FF;
}
.social-media-list .social-media-item.youtube:hover .icon-md {
background-color: white;
color: #e52d27;
}
.social-media-list .social-media-item.google-plus:hover .icon-md {
background-color: white;
color: #d34836;
}
.social-media-list .social-media-item._500px:hover .icon-md {
background-color: white;
color: #0099e5;
}
.social-media-list .social-media-item.patreon:hover .icon-md {
background-color: white;
color: #E6461A;
}
.social-media-list .social-media-item.steam:hover .icon-md {
background-color: white;
color: #0A2341;
}
.social-media-list .social-media-item.github:hover .icon-md {
background-color: white;
color: #000;
}
.social-media-list .social-media-item.twitch:hover .icon-md {
background-color: white;
color: #6441A4;
}
.social-media-list .social-media-item.spotify:hover .icon-md {
background-color: white;
color: #1ED760;
}