Files
PyUIBuilder/landingpages/buildinpublic/css/index.css
2024-10-04 18:32:13 +05:30

239 lines
4.3 KiB
CSS

/* @import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap'); */
:root{
--bg-color: #fff;
--btn-color: #fdfdfd;/* button color*/
--btn-bg: #000;/* button bg color*/
--primary-text-color: #000;
--header-link-hover: #000;
--input-hover-bd-color: #000;
}
html {
scroll-behavior: smooth;
/* font-family: "Ubuntu", sans-serif; */
}
header{
/* background-color: #fff;
color: #000; */
color: #4b4b4b;
}
header > .collapsible-header{
display: flex;
gap: 1rem;
width: 100%;
background-color: inherit;
place-content: center;
overflow: hidden;
transition: width 0.3s ease;
}
.animated-collapse{
transition: width 0.3s ease;
}
.header-links {
display: flex;
align-items: center;
min-width: fit-content;
border-radius: 5px;
padding: 5px 10px;
transition: background-color 0.5s, color 0.5s;
}
.header-links:hover {
color: #000000;
/* background-color: var(--header-link-hover); */
}
.primary-text-color{
color: var(--primary-text-color);
}
#buildinpublic{
/* height : 140px; */
-webkit-text-fill-color: white; /* Will override color (regardless of order) */
-webkit-text-stroke: 3px black;
}
.opacity-0{
opacity: 0 !important;
}
.opacity-100{
opacity: 100 !important;
}
.btn{
padding: 10px 15px;
width: max-content;
border-radius: 5px;
color: var(--btn-color);
background-color: var(--btn-bg);
justify-content: center;
align-items: center;
display: flex;
cursor: pointer;
}
.btn:hover{
}
.btn:disabled{
cursor: default;
}
.input{
padding: 10px;
background-color: transparent;
border-radius: 5px;
/* outline: none; */
min-width: 100px;
border: 1px solid #818080;
/* transition: border 0.3s; */
}
.input:active, .input:focus, .input:focus-within{
border: 1px solid var(--input-hover-bd-color) !important;
}
.carousel-container {
overflow: hidden;
white-space: nowrap;
width: 100%;
max-width: 800px;
}
.carousel {
display: inline-block;
animation: scroll 10s linear infinite;
}
.carousel-img {
display: inline-block;
margin: 0 20px;
}
@keyframes scroll {
0% {
transform: translateX(0);
}
100% {
transform: translateX(-50%);
}
}
.footer-link{
color: #434242;
transition: color 0.3s;
}
.footer-link:hover{
color: #0b0b0b;
}
/* Next & previous buttons */
.prev,
.next {
cursor: pointer;
position: absolute;
top: 50%;
width: auto;
padding: 16px;
margin-top: -22px;
color: white;
font-weight: bold;
font-size: 18px;
transition: 0.6s ease;
border-radius: 0 3px 3px 0;
user-select: none;
z-index: 10;
}
/* Position the "next button" to the right */
.next {
right: 0px;
border-radius: 3px 0 0 3px;
}
/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
background-color: rgba(0, 0, 0, 0.8);
}
/* Style for the collapsible content such as faq commonly known as: accordion */
.faq{
background-color: #fff;
color: #000000;
border: 1px solid #000;
}
.faq-accordion {
background-color: inherit;
color: #000000;
cursor: pointer;
padding: 15px 18px;
width: 100%;
border: none;
text-align: left;
outline: none;
transition: height 0.4s;
}
.faq .content {
padding: 0px 18px;
color: #232323;
height: max-content;
overflow: hidden;
background-color: transparent;
text-align: justify;
max-height: 0px;
transition: max-height 0.4s, padding 0.4s;
}
.faq-accordion .active,
.faq-accordion:hover {
/* background-color: #2e2c2c; */
}
@media not all and (min-width: 1024px) {
header .collapsible-header {
position: fixed;
right: 0px;
flex-direction: column;
opacity: 0;
height: 100vh;
min-height: 100vh;
height: 100dvh;
width: 0vw;
justify-content: space-between;
padding: 5px;
padding-top: 5%;
padding-bottom: 5%;
place-items: end;
background-color: #eaeaea;
color: #1b1a1a;
overflow-y: auto;
box-shadow: 3px 0px 3px 2px #9f9f9f;
}
.header-links{
color: #3a3838;
}
}