lbryorg/lib/css/index.css
2020-06-20 01:21:40 +05:30

213 lines
3.3 KiB
CSS

/* Fonts */
@font-face {
font-family: 'Oxygen';
src: url(../fonts/Oxygen/Oxygen-Regular.ttf);
}
@font-face {
font-family: 'Oxygen, Bold';
src: url(../fonts/Oxygen/Oxygen-Bold.ttf);
}
/* /Fonts */
body {
font-family: 'Oxygen';
}
html {
scroll-behavior: smooth;
}
/* Parallax */
.parallax .parallax-layer {
z-index: -1;
overflow: hidden;
}
.parallax .parallax-content {
z-index: 100;
position: relative;
background-color: transparent !important;
}
.parallax .parallax-bg {
z-index: -2;
position: absolute;
height: 100%;
width: 100%;
background-color: teal;
opacity: 0.3;
}
.parallax .parallax-mask {
z-index: 25;
position: absolute;
width: 100%;
height: 100%;
overflow: hidden;
}
.parallax .above-parallax {
box-shadow: rgba(0, 0, 0, 0.6) 0 0 1rem;
background: rgba(5, 20, 40, 0.93);
color: white;
padding: 2rem;
z-index: 100;
}
.parallax {
overflow: hidden;
}
/* /Parallax */
/* Global Parallax */
#global-parallax .main-parallax-img {
width: 100%;
margin: 0;
position: absolute;
}
#global-parallax .parallax-mask {
position: fixed;
background-color: rgb(20, 120, 200);
opacity: 0.35;
}
#global-parallax .parallax-bg {
position: fixed;
height: 100%;
background-color: black;
opacity: 1;
}
#global-parallax {
margin: 0;
}
/* /Global Parallax */
/* Navbar */
nav {
transition: all 0.4s;
box-shadow: rgba(0, 0, 0, 0.6) 0 0 1rem;
}
.nav-transparent .navbar-collapse.show {
background-color: #072A46;
}
.nav-transparent {
transition: background-color 0.4s;
background-color: transparent !important;
box-shadow: none;
}
.nav-item {
color: white !important;
}
.nav-link.active {
background-color: rgb(11, 90, 121);
border-radius: 0.2rem;
}
/* /Navbar */
/* Special Branded Color Classes*/
.lbry-teal {
background-color:rgb(40, 212, 226);
}
.lbry-dark {
background-color:rgb(3, 76, 105);
}
.lbry-teal-green {
background-color: #25d9e0;
color: #ffffff;
}
.lbry-dark-green {
background-color: #00343e;
color: #ffffff;
}
.lbry-dark-green:hover{
color: #25d9e0;
}
.dropdown-item.active {
background-color:rgb(3, 76, 105);
}
.dropdown-item:active {
background-color:rgb(3, 76, 105);
}
.dropdown-menu {
background-color:rgb(3, 76, 105);
}
.dropdown-item {
color: white;
}
/* /Special Branded Color Classes*/
/* Hovering Button Style*/
.button {
background-color: #4CAF50; /* Green */
border: none;
color: white;
padding: 16px 32px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin: 4px 2px;
transition-duration: 0.2s;
cursor: pointer;
}
.button1 {
background-color: transparent;
color: black;
border: 2px solid #00303C;
}
.button1:hover {
background-color: #00303C;
color: #28D4E2;
}
.button1 {border-radius: 13px;}
/* /Hovering Button Style*/
/* Card animations*/
.card {
transition: transform 0.2s;
}
.card:hover {
transform: scale(1.05);
}
/* /Card animations*/
/* Podcast style*/
.podcast {
padding-bottom:56.25%;
position:relative;
display:block;
width: 100%
}
/* /Podcast style*/
/* Podcast animations*/
.podcast {
transition: transform 0.2s;
}
.podcast:hover {
transform: scale(1.05);
}
/* /Podcast animations*/
/* scrollFade */
.scroll-fade {
opacity: 0;
transform: scale(0.6);
}
/* /scrollFade */