ventry/public/assets/css/style.css
2023-11-03 21:17:49 +01:00

1198 lines
21 KiB
CSS
Executable File

:root {
/*DARK THEMES*/
/*ventry-themes: default*/
--default-theme-bg: #1D2026 !important;
--default-theme-bg-primary: #15181D !important;
--default-theme-bg-secondary: #1d2026 !important;
--default-theme-gradient: linear-gradient(80deg, rgb(36 40 48 / 25%) 0%, rgb(36 40 48 / 0%) 100%) !important;
--default-theme-button-primary: linear-gradient(65deg, #0270D7 0, #0F8AFD 100%);
--default-theme-button-secondary: linear-gradient(65deg, #0270D7 0, #0F8AFD 100%);
}
.card {
--bs-card-bg: #15181D !important;
}
html {
line-height: 1.15;
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%
}
body {
margin: 0
}
footer, header, section {
display: block
}
h1 {
font-size: 2em;
margin: 0.67em 0
}
main {
display: block
}
a {
background-color: transparent;
}
b {
font-weight: inherit
}
b {
font-weight: bolder
}
img {
border-style: none
}
svg:not(:root) {
overflow: hidden
}
button, input {
font-family: sans-serif;
font-size: 100%;
line-height: 1.15;
margin: 0
}
button, input {
overflow: visible
}
button {
text-transform: none
}
button, html [type="button"], [type="submit"] {
-webkit-appearance: button;
}
button::-moz-focus-inner, [type="button"]::-moz-focus-inner, [type="submit"]::-moz-focus-inner {
border-style: none;
padding: 0
}
button:-moz-focusring, [type="button"]:-moz-focusring, [type="submit"]:-moz-focusring {
outline: 1px dotted ButtonText
}
::-webkit-file-upload-button {
-webkit-appearance: button;
font: inherit
}
html {
box-sizing: border-box
}
*, *:before, *:after {
box-sizing: inherit
}
body {
background: #1D2026;
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased
}
ul {
margin-top: 0;
margin-bottom: 24px;
padding-left: 24px
}
ul {
list-style: disc
}
img {
height: auto;
max-width: 100%;
vertical-align: middle
}
img, svg {
display: block
}
table {
border-collapse: collapse;
margin-bottom: 24px;
width: 100%
}
tr {
border-bottom: 1px solid #242830
}
th {
text-align: left
}
th {
padding: 10px 16px
}
th:first-child {
padding-left: 0
}
th:last-child {
padding-right: 0
}
html {
font-size: 20px;
line-height: 30px
}
body {
color: #8A94A7;
font-size: 1rem
}
body, button, input {
font-family: "IBM Plex Sans", sans-serif
}
a {
color: #8A94A7;
text-decoration: underline
}
a:hover, a:active {
outline: 0;
text-decoration: none
}
h1, h3, h4 {
clear: both;
color: #fff;
font-weight: 600
}
h1 {
font-size: 38px;
line-height: 48px;
letter-spacing: 0;
}
@media (min-width: 641px) {
h1 {
font-size: 44px;
line-height: 54px;
letter-spacing: 0;
}
}
h3 {
font-size: 24px;
line-height: 34px;
letter-spacing: 0
}
@media (min-width: 641px) {
h3 {
font-size: 32px;
line-height: 42px;
letter-spacing: 0
}
}
h4 {
font-size: 20px;
line-height: 30px;
letter-spacing: -0.1px
}
@media (min-width: 641px) {
h4 {
font-size: 24px;
line-height: 34px;
letter-spacing: 0
}
}
.text-sm {
font-size: 18px;
line-height: 28px;
letter-spacing: -0.1px
}
h1 {
margin-top: 48px;
margin-bottom: 16px
}
h3 {
margin-top: 36px;
margin-bottom: 12px
}
h4 {
margin-top: 24px;
margin-bottom: 4px
}
p {
margin-top: 0;
margin-bottom: 24px
}
i {
font-style: italic
}
b {
font-weight: 600
}
button, input, label {
font-size: 20px;
line-height: 30px
}
.container {
width: 100%;
margin: 0 auto;
padding-left: 16px;
padding-right: 16px
}
@media (min-width: 481px) {
.container {
padding-left: 24px;
padding-right: 24px
}
}
.container {
max-width: 1320px;
}
.list-reset {
list-style: none;
padding: 0
}
.text-center {
text-align: center
}
.m-0 {
margin: 0
}
.mt-0 {
margin-top: 0
}
.mb-0 {
margin-bottom: 0
}
.mt-24 {
margin-top: 24px
}
.mt-48 {
margin-top: 48px
}
.sr .has-animations .is-revealing {
visibility: hidden
}
.has-animations .anime-element {
visibility: hidden
}
.anime-ready .has-animations .anime-element {
visibility: visible
}
.button {
display: inline-flex;
font-size: 14px;
letter-spacing: 0;
font-weight: 600;
line-height: 16px;
text-decoration: none !important;
text-transform: uppercase;
background-color: #242830;
color: #fff !important;
border: none;
cursor: pointer;
transition: .2s;
justify-content: center;
padding: 16px 32px;
height: 48px;
text-align: center;
border-radius: 15px;
white-space: nowrap
}
.button:hover {
background: #262a33
}
.button:active {
outline: 0
}
.button::before {
border-radius: 2px
}
.button-primary {
background: #097dea;
background: linear-gradient(65deg, #0270D7 0, #0F8AFD 100%);
border-radius: 15px;
}
.button-primary:hover {
background: #0982f4;
background: linear-gradient(65deg, #0275e1 0, #198ffd 100%)
}
@media (max-width: 640px) {
.button-wide-mobile {
width: 100%;
max-width: 280px
}
}
.site-header {
padding: 24px 0
}
@media (min-width: 641px) {
.site-header {
position: relative
}
.site-header::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 700px;
background: #242830;
background: linear-gradient(80deg, rgba(36, 40, 48, 0.5) 0%, rgba(36, 40, 48, 0) 100%);
-webkit-transform-origin: 0;
transform-origin: 0;
transform: skewY(-12deg)
}
}
.hero {
text-align: center;
padding-top: 48px;
padding-bottom: 88px
}
.hero-copy {
position: relative;
z-index: 1
}
.hero-cta {
margin-bottom: 40px
}
.hero-figure {
position: relative
}
.hero-figure svg {
width: 100%;
height: auto
}
.hero-figure::before, .hero-figure::after {
content: '';
position: absolute;
background-repeat: no-repeat;
background-size: 100%
}
.has-animations .hero-figure::before, .has-animations .hero-figure::after {
opacity: 0;
transition: opacity 2s ease
}
.anime-ready .has-animations .hero-figure::before, .anime-ready .has-animations .hero-figure::after {
opacity: 1
}
.hero-figure::before {
top: -57.8%;
left: -1.3%;
width: 152.84%;
height: 178.78%;
background-image: url("../img/hero-back-illustration.svg")
}
.hero-figure::after {
top: -35.6%;
left: 99.6%;
width: 57.2%;
height: 87.88%;
}
.hero-figure-box {
position: absolute;
top: 0;
will-change: transform
}
.hero-figure-box-01, .hero-figure-box-02, .hero-figure-box-04, .hero-figure-box-08, .hero-figure-box-09 {
overflow: hidden
}
.hero-figure-box-01::before, .hero-figure-box-02::before, .hero-figure-box-04::before, .hero-figure-box-08::before, .hero-figure-box-09::before {
content: '';
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
transform-origin: 100% 100%
}
.hero-figure-box-01 {
left: 103.2%;
top: 41.9%;
width: 28.03%;
height: 37.37%;
background: linear-gradient(to left top, #00BFFB, rgba(0, 191, 251, 0));
transform: rotateZ(45deg)
}
.hero-figure-box-01::before {
background: linear-gradient(to left, #15181D 0%, rgba(21, 24, 29, 0) 60%);
transform: rotateZ(45deg) scale(1.5)
}
.hero-figure-box-02 {
left: 61.3%;
top: 64.1%;
width: 37.87%;
height: 50.50%;
background: linear-gradient(to left top, #0270D7, rgba(2, 112, 215, 0));
transform: rotateZ(-45deg)
}
.hero-figure-box-02::before {
background: linear-gradient(to top, #15181D 0%, rgba(21, 24, 29, 0) 60%);
transform: rotateZ(-45deg) scale(1.5)
}
.hero-figure-box-04 {
left: 54.9%;
top: -8%;
width: 45.45%;
height: 60.60%;
background: linear-gradient(to left top, #0270D7, rgba(2, 112, 215, 0));
transform: rotateZ(-135deg)
}
.hero-figure-box-04::before {
background: linear-gradient(to top, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0) 60%);
transform: rotateZ(-45deg) scale(1.5)
}
.hero-figure-box-05, .hero-figure-box-06, .hero-figure-box-07 {
background-color: #242830;
box-shadow: -20px 32px 64px rgba(0, 0, 0, 0.25)
}
.hero-figure-box-05 {
left: 17.4%;
top: 13.3%;
width: 64%;
height: 73.7%;
transform: perspective(500px) rotateY(-15deg) rotateX(8deg) rotateZ(-1deg)
}
.hero-figure-box-06 {
left: 65.5%;
top: 6.3%;
width: 30.3%;
height: 40.4%;
transform: rotateZ(20deg)
}
.hero-figure-box-07 {
left: 1.9%;
top: 42.4%;
width: 12.12%;
height: 16.16%;
transform: rotateZ(20deg)
}
.hero-figure-box-08 {
left: 27.1%;
top: 81.6%;
width: 19.51%;
height: 26.01%;
background: #0270D7;
transform: rotateZ(-22deg)
}
.hero-figure-box-08::before {
background: linear-gradient(to left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.48) 100%);
transform: rotateZ(45deg) scale(1.5)
}
.hero-figure-box-09 {
left: 42.6%;
top: -17.9%;
width: 6.63%;
height: 8.83%;
background: #00BFFB;
transform: rotateZ(-52deg)
}
.hero-figure-box-09::before {
background: linear-gradient(to left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.64) 100%);
transform: rotateZ(45deg) scale(1.5)
}
.hero-figure-box-10 {
left: -3.8%;
top: 4.3%;
width: 3.03%;
height: 4.04%;
background: rgba(0, 191, 251, 0.32);
transform: rotateZ(-50deg)
}
@media (max-width: 640px) {
.hero-cta {
max-width: 280px;
margin-left: auto;
margin-right: auto
}
.hero-cta .button {
display: flex
}
.hero-cta .button + .button {
margin-top: 16px
}
.hero-figure::after, .hero-figure-box-04, .hero-figure-box-09 {
display: none
}
}
@media (min-width: 641px) {
.hero {
text-align: left;
padding-top: 64px;
padding-bottom: 88px
}
.hero-inner {
display: flex;
justify-content: space-between;
align-items: center
}
.hero-copy {
padding-right: 64px;
min-width: 552px;
width: 552px
}
.hero-cta {
margin: 0
}
.hero-cta .button {
min-width: 170px
}
.hero-cta .button:first-child {
margin-right: 16px
}
.hero-figure svg {
width: auto
}
}
.features-wrap {
display: flex;
flex-wrap: wrap;
justify-content: space-evenly;
margin-right: -32px;
margin-left: -32px
}
.features-wrap:first-of-type {
margin-top: -16px
}
.features-wrap:last-of-type {
margin-bottom: -16px
}
.feature {
width: 380px;
max-width: 380px;
flex-grow: 1;
background-color: #15181D;
border-radius: 15px;
margin: 15px 32px 15px 32px;
padding: 48px 16px;
}
.feature-inner {
height: 100%
}
.feature-icon {
display: flex;
justify-content: center
}
@media (min-width: 641px) {
.features-wrap:first-of-type {
margin-top: -24px
}
.features-wrap:last-of-type {
margin-bottom: -24px
}
.feature {
padding: 32px 32px
}
}
.cta {
text-align: center
}
.cta .section-inner {
padding: 48px 16px
}
.cta .section-title {
margin-bottom: 40px
}
.cta-inner {
border-radius: 15px;
position: relative;
background: #15181D;
overflow: hidden
}
.cta-inner::before {
content: '';
position: absolute;
right: 98px;
top: -117px;
width: 160px;
height: 187px;
background-image: url("../img/cta-illustration.svg");
background-repeat: no-repeat
}
.cta-inner > * {
position: relative
}
@media (min-width: 641px) {
.cta {
text-align: left
}
.cta .section-inner {
padding: 64px 32px
}
.cta .section-title {
margin-bottom: 0;
padding-right: 24px
}
.cta-inner {
display: flex;
align-items: center;
justify-content: space-between
}
}
.is-boxed {
background: #242830
}
.body-wrap {
background: #1D2026;
overflow: hidden;
display: flex;
flex-direction: column;
min-height: 100vh
}
main {
flex: 1 0 auto
}
.section-inner {
border-radius: 15px;
position: relative;
padding-top: 48px;
padding-bottom: 48px
}
@media (min-width: 641px) {
.section-inner {
padding-top: 88px;
padding-bottom: 88px
}
}
.site-footer {
font-size: 14px;
line-height: 22px;
letter-spacing: 0;
background-color: #15181D;
margin-top: 15em;
}
.site-footer a {
color: #8A94A7;
text-decoration: none
}
.site-footer a:hover, .site-footer a:active {
text-decoration: underline
}
.site-footer-inner {
position: relative;
display: flex;
flex-wrap: wrap;
padding-top: 48px;
padding-bottom: 48px
}
.footer-brand, .footer-links, .footer-social-links, .footer-copyright {
flex: none;
width: 100%;
display: inline-flex;
justify-content: center
}
.footer-brand, .footer-links, .footer-social-links {
margin-bottom: 24px
}
.footer-links li + li {
margin-left: 24px
}
@media (min-width: 641px) {
.site-footer {
margin-top: 15em
}
.site-footer-inner {
justify-content: space-between;
padding-top: 64px;
padding-bottom: 64px
}
.footer-brand, .footer-links, .footer-social-links, .footer-copyright {
flex: 50%
}
.footer-brand, .footer-copyright {
justify-content: flex-start
}
.footer-links, .footer-social-links {
justify-content: flex-end
}
.footer-links {
order: 1;
margin-bottom: 0
}
}
/* The sticky class is added to the header with JS when it reaches its scroll position */
.sticky {
position: fixed;
top: 0;
width: 100%
}
/* Add some top padding to the page content to prevent sudden quick movement (as the header gets a new position at the top of the page (position:fixed and top:0) */
.site-header-no-bg {
padding: 24px 0;
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
z-index: 999;
}
.site-header-no-bg-inner {
position: relative;
backdrop-filter: blur(10px);
display: flex;
justify-content: space-between;
align-items: center
}
.button:active {
transform: scale(0.95);
}
.modal {
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.2);
}
.modal-content {
margin: 15% auto;
max-width: 500px;
background-color: #242830;
border: 5px solid #1D2026;
padding: 20px;
animation: scale 0.5s ease;
border-radius: 10px;
width: max-content;
box-shadow: 7px 7px 5px rgb(0 0 0 / 2%), 22px 22px 18px rgb(0 0 0 / 3%), 100px 100px 80px rgb(0 0 0 / 5%);
}
@media (max-width: 620px) {
.modal-content {
margin: 30% 15px 10px 15px !important;
max-width: 500px;
background-color: #242830;
border: 5px solid #1D2026;
padding: 20px;
animation: scale 0.5s ease;
border-radius: 10px;
box-shadow: 7px 7px 5px rgb(0 0 0 / 2%), 22px 22px 18px rgb(0 0 0 / 3%), 100px 100px 80px rgb(0 0 0 / 5%);
}
}
.modal-body {
margin-top: 5px;
}
#close-loginmodal {
float: right;
font-size: 1.2rem;
font-weight: bold;
cursor: pointer;
background-color: #15181D !important;
border: 5px solid #1D2026;
border-radius: 10px;
height: auto;
padding: 0 10px 5px 10px;
position: relative;
user-select: none !important;
}
#close-registermodal {
float: right;
font-size: 1.2rem;
font-weight: bold;
cursor: pointer;
background-color: #15181D !important;
border: 5px solid #1D2026;
border-radius: 10px;
height: auto;
padding: 0 10px 5px 10px;
position: relative;
user-select: none !important;
}
@keyframes scale {
from {
transform: scale(0);
}
to {
transform: scale(1);
}
}
form i {
margin-left: -40px;
margin-right: 5px;
cursor: pointer;
}
.textField {
border: 5px solid #1D2026;
border-radius: 10px;
padding: 5px 15px 5px 15px;
width: 100%;
color: white !important;
background-color: #15181D !important;
margin: 5px 0 10px 0;
transition: .15s;
}
.textField:focus
{
border: 5px solid #393e4a;
}
*:focus {
outline: none;
}
form .button {
background-color: #15181D !important;
border: 5px solid #1D2026;
border-radius: 10px;
height: auto;
padding: 15px 50px 15px 50px;
position: relative;
}
label i {
margin-left: 0;
background-color: #1D2026;
padding: 5px;
color: #8A94A7;
border-radius: 7px;
cursor: default;
}
form label {
display: flex;
}
.fa-solid:hover {
transform: scale(1.1);
transition: .2s;
color: #097dea;
}
.fa-solid {
transition: .2s;
-webkit-text-stroke-width: 0;
-webkit-text-stroke-color: #fff;
}
.alert {
background-color: #15181D !important;
border: 5px solid #1D2026;
border-radius: 10px;
height: auto;
padding: 15px;
position: relative;
transition: .2s;
margin-bottom: 10px;
}
.alert::after {
transition: .2s;
}
.modal-header {
display: flex;
justify-content: space-between;
align-items: center;
}
.modal-header h3 {
margin-top: 0;
}
.bg-card-secondary {
background-color: #242830;
}
.error {
border: 5px solid #4a3030;
border-radius: 10px;
padding: 5px 15px 5px 15px;
width: fit-content;
color: white !important;
background-color: #412525 !important;
transition: .15s;
margin: auto;
}
ul {
margin: 0;
}
.button-danger {
background-color: #dc3545 !important;
}
.row {
display: flex;
flex-wrap: wrap;
}
.col {
flex: 1;
margin: 5px;
}
.image-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
gap: 20px;
background-color: #15181D;
padding: 20px;
border-radius: 10px;
align-content: center;
}
.preview-container {
background-color: #15181D;
padding: 20px;
border-radius: 10px;
}
.preview-container img {
border-radius: 10px;
max-height: 60vh;
margin: auto;
}
.image-container {
position: relative;
padding-bottom: 100%; /* Maintain the aspect ratio (1:1 for square) */
}
.image-container img {
position: absolute;
width: 100%;
height: 100%;
object-fit: cover; /* Keeps aspect ratio and fills the container */
transition: .15s;
border-radius: 10px;
border: 5px solid #1D2026;
user-select: none;
}
.image-container img:hover {
border: 5px solid #2d313a;
}
.image-container img:active {
transform: scale(0.975);
border: 5px solid #292d35;
}
.ml-10 {
margin-left: 10px;
}
.m-auto {
margin:auto;
}
main {
z-index: 1;
}
* {
color: white;
}
svg.placeholder {
color: transparent;
}
p {
color: #8A94A7;
}
.custom-card {
margin: 0 0 20px;
border: 5px solid #2d313a !important;
border-radius: 10px !important;
transition: .15s;
}
.custom-card:hover {
border: 5px solid #424856 !important;
}
.icon-background {
background-color: #097dea;
width: 40px; /* Equal width and height for a perfect circle */
height: 40px;
border-radius: 50%; /* Apply a 50% border radius for a circular shape */
display: flex;
align-items: center;
justify-content: center;
overflow: hidden; /* Ensure content doesn't affect the shape */
aspect-ratio: 1; /* Force a perfect circle */
}
.image-container .overlay {
display: block;
transition: transform 0.3s ease, opacity 0.3s ease;
opacity: 0;
}
.image-container:hover .overlay {
backdrop-filter: blur(10px);
border-radius: 10px;
width: 100%;
opacity: 1;
}
.modal-backdrop {
z-index: -1 !important;
}
body.modal-open {
overflow: hidden;
}
.button-secondary {
background-color: #3a3f4a;
}
.modal-content {
border: 5px solid #1D2026 !important;
}
.overlay {
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
background-color: rgba(0, 0, 0, 0.3);
color: white;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}