lbryorg/lib/css/index.css
2020-06-10 20:43:02 +06:00

159 lines
No EOL
2.5 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 {
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);
}
.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*/