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

393 lines
9.0 KiB
CSS
Raw Normal View History

2018-10-16 16:28:42 +00:00
/* Main slider */
#main-slider .carousel-item {
height: calc(100vh - 60px);
background: no-repeat center;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}
#main-slider .carousel-item .carousel-caption {
top: 0;
height: 600px;
position: absolute;
display: block !important;
opacity: 0;
-webkit-transition: opacity ease-in-out 500ms;
-moz-transition: opacity ease-in-out 500ms;
-o-transition: opacity ease-in-out 500ms;
transition: opacity ease-in-out 500ms;
}
#main-slider .carousel-item.active .carousel-caption {
opacity: 1;
-webkit-transition: opacity ease-in-out 500ms;
-moz-transition: opacity ease-in-out 500ms;
-o-transition: opacity ease-in-out 500ms;
transition: opacity ease-in-out 500ms;
}
#main-slider .carousel-item .carousel-caption .container {
top: auto;
position: relative;
}
#main-slider .carousel-item .carousel-content {
margin-top: 139px;
}
#main-slider .carousel-item .boxed {
padding: 10px 15px;
background-color: rgba(0, 0, 0, 0.8);
border-radius: 10px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
cursor: default;
}
#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 {
border: 3px solid rgba(255, 255, 255, 0.5);
color: #fff;
margin-top: 5px;
2018-10-27 10:08:54 +00:00
box-sizing: border-box;
2018-10-16 16:28:42 +00:00
transition: ease-in-out .1s;
}
#main-slider .carousel-item .btn:hover {
border-width: 0;
2018-10-27 10:08:54 +00:00
padding: 13px 18px;
2018-10-16 16:28:42 +00:00
}
#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;
}
.tilted-column {
position: relative;
width: calc((100% / 3) + 6px + (32px / 3));
height: 33vw;
display: inline-block;
margin-left: -6px;
overflow: hidden;
border-right: 10px solid transparent;
transform: skewX(-6deg);
}
.tilted-column:nth-child(3n+1) {
margin-left: -24px;
margin-right: 0 !important;
}
.tilted-column:nth-child(3n+3) {
margin-right: -32px;
border-right: 0;
}
.tilted-column > .column-image {
width: 100%;
transform: skewX(6deg) scale(1.1);
transition: transform .8s;
}
.tilted-column > .column-caption {
position: absolute;
width: 75%;
top: 100%;
left: 56%;
opacity: 0;
transform: skewX(6deg) translate(-50%, 0);
transition: all .8s;
}
.tilted-column > .column-caption > .column-title,
.tilted-column > .column-caption > .column-desc {
color: #fff;
background-color: rgba(0, 0, 0, .8);
padding: 4px 16px;
border-radius: 10px;
font-size: 2.5vw;
}
.tilted-column > .column-caption > .column-desc {
font-size: 1.25vw;
font-weight: bolder;
width: 100%;
}
.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-left: -24px;
margin-right: 0 !important;
}
.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 {
width: 100%;
height: 100vw;
margin: 10px 0 !important;
transform: none;
}
.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;
}
2018-10-16 16:28:42 +00:00
/* 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 {
color: #4099FF;
background-color: white;
}
.social-media-list .social-media-item.youtube:hover .icon-md {
color: #e52d27;
background-color: white;
}
.social-media-list .social-media-item.google-plus:hover .icon-md {
color: #d34836;
background-color: white;
}
.social-media-list .social-media-item._500px:hover .icon-md {
color: #0099e5;
background-color: white;
}
.social-media-list .social-media-item.patreon:hover .icon-md {
color: #E6461A;
background-color: white;
}
.social-media-list .social-media-item.steam:hover .icon-md {
color: #0A2341;
background-color: white;
}
.social-media-list .social-media-item.github:hover .icon-md {
color: #000;
background-color: white;
}
.social-media-list .social-media-item.twitch:hover .icon-md {
color: #6441A4;
background-color: white;
}
.social-media-list .social-media-item.spotify:hover .icon-md {
color: #1ED760;
background-color: white;
}