mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2024-12-17 17:20:21 +01:00
312 lines
5.6 KiB
CSS
312 lines
5.6 KiB
CSS
@font-face {
|
|
font-family: "Gilroy";
|
|
src: url("/fonts/GilroyRegular/font.woff2") format("woff2"), url("webFonts/GilroyRegular/font.woff") format("woff");
|
|
font-weight: 400;
|
|
font-style: normal;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: "Gilroy";
|
|
src: url("/fonts/GilroyLight/font.woff2") format("woff2"), url("webFonts/GilroyLight/font.woff") format("woff");
|
|
font-weight: 300;
|
|
font-style: normal;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: "Gilroy";
|
|
src: url("/fonts/GilroyMedium/font.woff2") format("woff2"), url("webFonts/GilroyMedium/font.woff") format("woff");
|
|
font-weight: 500;
|
|
font-style: normal;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: "Gilroy";
|
|
src: url("/fonts/GilroyBold/font.woff2") format("woff2"), url("webFonts/GilroyBold/font.woff") format("woff");
|
|
font-weight: 700;
|
|
font-style: normal;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: "Gilroy";
|
|
src: url("/fonts/GilroyRegularItalic/font.woff2") format("woff2"), url("webFonts/GilroyRegularItalic/font.woff") format("woff");
|
|
font-weight: 400;
|
|
font-style: italic;
|
|
}
|
|
|
|
html {
|
|
scroll-behavior: smooth;
|
|
font-family: 'Gilroy', sans-serif;
|
|
}
|
|
|
|
#comparison::before {
|
|
display: block;
|
|
content: " ";
|
|
margin-top: -80px;
|
|
height: 120px;
|
|
visibility: hidden;
|
|
pointer-events: none;
|
|
}
|
|
|
|
/* .nav-button-active{
|
|
background-color: #00C8FB;
|
|
color: #fff;
|
|
} */
|
|
|
|
/* NEW SITE */
|
|
.container,
|
|
.container-fluid,
|
|
.container-xxl,
|
|
.container-xl,
|
|
.container-lg,
|
|
.container-md,
|
|
.container-sm {
|
|
width: 100%;
|
|
padding: 0 20px;
|
|
margin-right: auto;
|
|
margin-left: auto;
|
|
}
|
|
|
|
@media (min-width: 576px) {
|
|
|
|
.container-sm,
|
|
.container {
|
|
max-width: 540px;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
|
|
.container-md,
|
|
.container-sm,
|
|
.container {
|
|
max-width: 720px;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 992px) {
|
|
|
|
.container-lg,
|
|
.container-md,
|
|
.container-sm,
|
|
.container {
|
|
max-width: 960px;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 1200px) {
|
|
|
|
.container-xl,
|
|
.container-lg,
|
|
.container-md,
|
|
.container-sm,
|
|
.container {
|
|
max-width: 1140px;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 1400px) {
|
|
|
|
.container-xxl,
|
|
.container-xl,
|
|
.container-lg,
|
|
.container-md,
|
|
.container-sm,
|
|
.container {
|
|
max-width: 1320px;
|
|
}
|
|
}
|
|
|
|
.gradient-text {
|
|
background: -webkit-linear-gradient(to bottom, #53C1FF -50%, #0053D0 160%);
|
|
background: linear-gradient(to bottom, #53C1FF -50%, #0053D0 160%);
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
background-clip: text;
|
|
text-fill-color: transparent;
|
|
}
|
|
|
|
.dark .border-gradient {
|
|
background:
|
|
linear-gradient(#11182F, #11182F) padding-box,
|
|
linear-gradient(to bottom, transparent, #01F1FF 58%) border-box;
|
|
border: 1px solid transparent;
|
|
}
|
|
|
|
@media (min-width:1024px) {
|
|
.nav-link-text {
|
|
position: relative;
|
|
color: #0D0E12;
|
|
}
|
|
|
|
.nav-link-text::before,
|
|
.active .nav-link-text::before {
|
|
content: "";
|
|
position: absolute;
|
|
width: 0;
|
|
height: 1px;
|
|
bottom: 0;
|
|
right: 0;
|
|
/* background-color: initial; */
|
|
transition: width 0.25s ease-out;
|
|
}
|
|
|
|
.active .nav-link-text::before {
|
|
width: 100%;
|
|
}
|
|
|
|
.nav-link:hover .nav-link-text::before {
|
|
width: 100%;
|
|
left: 0;
|
|
right: auto;
|
|
}
|
|
}
|
|
|
|
|
|
.sub-menu {
|
|
visibility: hidden;
|
|
opacity: 0;
|
|
color: #505158;
|
|
}
|
|
|
|
.dark .sub-menu {
|
|
color: #fff;
|
|
}
|
|
|
|
.dark .sub-menu li:hover {
|
|
color: #66D9E2;
|
|
}
|
|
|
|
.sub-menu li:hover {
|
|
color: #0053D0;
|
|
}
|
|
|
|
.sub-menu {
|
|
transition: all .3s ease !important;
|
|
}
|
|
|
|
.nav-link span svg,
|
|
header nav {
|
|
transition: all 0.5s ease;
|
|
}
|
|
|
|
.nav-link:hover span svg {
|
|
transform: rotate(180deg);
|
|
}
|
|
|
|
@media (min-width:1024px) {
|
|
|
|
.nav-link:hover .sub-menu,
|
|
.nav-link:focus-within .sub-menu {
|
|
visibility: visible;
|
|
opacity: 1;
|
|
margin-top: 0;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 1024px) {
|
|
.sub-menu {
|
|
max-height: 0;
|
|
transform: translateY(-10px);
|
|
transition: all .7s ease !important;
|
|
}
|
|
|
|
.active .sub-menu {
|
|
max-height: 200px;
|
|
transform: translateY(0px);
|
|
opacity: 1;
|
|
visibility: visible;
|
|
margin-top: 0;
|
|
}
|
|
|
|
header nav {
|
|
visibility: hidden;
|
|
opacity: 0;
|
|
transform: translateX(100%);
|
|
}
|
|
|
|
header nav.open {
|
|
visibility: visible;
|
|
opacity: 1;
|
|
transform: translateX(0);
|
|
}
|
|
}
|
|
|
|
.lock-scroll {
|
|
overflow: hidden;
|
|
}
|
|
|
|
/* Swipe Sections */
|
|
|
|
.hash-number {
|
|
background: linear-gradient(251.16deg, #53C1FF 1.1%, #0053D0 100.82%);
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
background-clip: text;
|
|
}
|
|
|
|
.swiper-pagination-bullet-active {
|
|
background-color: #0197FF !important;
|
|
}
|
|
|
|
.swiper-button-next,
|
|
.swiper-button-prev {
|
|
height: 35px;
|
|
width: 35px;
|
|
}
|
|
|
|
.swiper-button-disabled {
|
|
display: none;
|
|
}
|
|
|
|
.swiper-scrollbar-horizontal {
|
|
margin-top: 40px !important;
|
|
width: 300px !important;
|
|
left: 50% !important;
|
|
transform: translateX(-50%) !important;
|
|
transform: translateX(-50%) !important;
|
|
}
|
|
|
|
.swiper-scrollbar-drag {
|
|
background-color: #0197FF;
|
|
}
|
|
.dark .swiper-scrollbar-drag{
|
|
background-color: #70F0F9;
|
|
}
|
|
|
|
.card{
|
|
cursor: pointer;
|
|
}
|
|
|
|
.card, .card > div:nth-child(2) {
|
|
transition: all .5s ease;
|
|
}
|
|
|
|
.card > div:nth-child(2) > *:nth-child(2),
|
|
.card > div:nth-child(2) > *:nth-child(3) {
|
|
opacity: 0;
|
|
max-height: 0;
|
|
transform: translateY(20px);
|
|
transition: all .5s ease-out;
|
|
}
|
|
.card > div:nth-child(2) > *:nth-child(3) {
|
|
transform: translateY(40px);
|
|
transition: all .5s ease-out;
|
|
}
|
|
|
|
.card:hover > div:nth-child(2),
|
|
.card.card-active > div:nth-child(2) {
|
|
height: 460px;
|
|
}
|
|
|
|
.card:hover > div:nth-child(2) > *:nth-child(2),
|
|
.card:hover > div:nth-child(2) > *:nth-child(3),
|
|
.card.card-active > div:nth-child(2) > *:nth-child(2),
|
|
.card.card-active > div:nth-child(2) > *:nth-child(3) {
|
|
opacity: 1;
|
|
max-height: 460px;
|
|
transform: translateY(0px);
|
|
}
|
|
|
|
.card:not(.no-hover):hover > div:nth-child(2) > *:nth-child(3){
|
|
opacity: 0;
|
|
} |