reactbits-mcp-server
Version:
MCP Server for React Bits - Access 99+ React components with animations, backgrounds, and UI elements
471 lines (399 loc) • 7.91 kB
CSS
.category-wrapper {
position: relative;
width: 100%;
max-width: 1440px;
margin: 0 auto;
}
.main-nav {
background: linear-gradient(to bottom, #060010, transparent);
width: 100%;
position: fixed;
padding: 0 2em;
height: 85px;
background: #060010;
left: 0;
}
.main-nav .nav-items {
position: relative;
height: 85px;
padding: 0;
max-width: 1440px;
margin: 0 auto;
}
.main-nav .nav-items::before {
content: '';
position: absolute;
right: 0;
bottom: 0;
width: 100%;
height: 1px;
background: linear-gradient(to right, transparent, #271E37, transparent);
}
.main-nav .nav-items::after {
pointer-events: none;
content: '';
position: fixed;
left: 0;
top: 70px;
z-index: -1;
width: 100%;
height: 50px;
background: linear-gradient(to bottom, #060010, transparent);
}
.main-nav .nav-items .logo {
position: relative;
}
.main-nav .nav-items .logo img {
height: 32px;
}
.category-name {
color: #999;
font-weight: 600;
letter-spacing: -1px;
font-size: 16px;
user-select: none;
}
.category-page {
width: calc(100% - 240px);
position: absolute;
right: 0;
padding: 8em 0 6em 1em;
min-height: 100vh;
}
.category-page .main-category {
text-transform: uppercase;
opacity: 0.5;
letter-spacing: -0.5px;
font-size: 1rem;
font-weight: 300;
margin: 0;
}
.category-page .sub-category {
margin-bottom: 0.5em;
line-height: 1em;
font-size: 4.5rem;
color: #fff;
font-weight: 900;
}
.code-highlighter {
border: 1px solid #392e4e ;
border-radius: 15px ;
background: #060010 ;
font-size: 14px ;
}
.code-highlighter .language-bash {
color: #b6b6b6 ;
}
.code-highlighter:has(.language-bash) {
padding: 1.25em ;
}
.demo-container {
width: 100%;
margin-top: 1em;
background: #060010;
border: 1px solid #392e4e;
padding: 1em;
border-radius: 20px;
display: flex;
align-items: center;
justify-content: center;
}
div:has(> .props-table) {
border: 1px solid #392e4e;
border-radius: 20px;
}
.split-text-demo,
.blur-text-demo {
font-size: 6rem;
font-weight: bolder;
}
.scrambled-text-demo {
max-width: 600px;
font-size: 1rem;
font-weight: bolder;
color: #5227FF;
}
.star-border-demo .inner-content {
padding: 1em 3em;
background-color: #060010 ;
border: 1px solid #271E37
}
.custom-bounceCards {
position: relative;
top: 2em;
}
.custom-folder {
margin-top: 4em;
}
.rotating-text-demo-container {
white-space: pre;
font-size: clamp(2rem, 6vw, 6rem);
display: flex;
justify-content: center;
align-items: center;
}
.rotating-text-demo-container .rotating-text-demo {
display: inline-block;
color: #060010;
background-color: #5227FF;
padding: 0 0.4em;
border-radius: 15px;
transition: width 0.3s ease;
}
.ballpit-demo {
position: relative;
}
.tilted-card-demo-text {
font-family: "Figtree";
font-weight: 900;
text-transform: capitalize;
box-shadow: 0 5px 30px #06001059;
border-radius: 15px;
color: #fff;
background: rgba(0, 0, 0, 0.4);
padding: 0.5rem 1em;
letter-spacing: -0.5px;
margin: 2em;
}
.shapeblur-demo {
position: relative;
mix-blend-mode: difference;
z-index: 2;
}
.decrypted-text {
font-size: 2rem;
display: inline-block;
font-weight: 400;
color: #fff;
cursor: pointer;
}
.variable-proximity-demo {
max-width: 20ch;
line-height: 100%;
font-size: 4rem ;
cursor: pointer;
text-align: center;
}
.shiny-text-demo {
font-weight: 300;
}
.shiny-button {
cursor: pointer;
border: 1px solid #353535;
background-color: #111;
padding: 0.4em 1.2em;
border-radius: 50px;
transition: 0.3s ease;
}
.shiny-button:hover {
background-color: #222;
}
.demo-title {
font-weight: bolder;
margin-top: 0.5em;
font-size: 2rem;
}
.demo-title span {
font-size: 0.8rem;
color: #a1a1aa;
font-weight: 500;
}
.demo-title::first-letter {
text-transform: uppercase;
}
.demo-title-extra,
.demo-title-contribute {
margin: 1em 0 0.5em;
font-size: 1.4rem;
font-weight: 900;
}
.demo-title-contribute {
margin-top: 2em;
letter-spacing: -0.5px;
font-weight: 600;
margin-bottom: 1em;
text-align: center;
}
.contribute-container {
background: #060010;
border: 1px solid #392e4e;
border-radius: 20px;
margin-top: 1em;
padding-bottom: 3em;
}
.contribute-button {
background-color: #060010 ;
border: 1px solid #392e4e;
transition: 0.5s ease;
}
.contribute-button span {
color: #a1a1aa;
}
.contribute-button:hover {
background-color: #271E37 ;
}
.demo-details {
font-size: 1.6rem;
margin: 0 0 1em;
display: flex;
gap: 0.3em;
}
.demo-details span {
background-color: #170D27;
border: 1px solid #271E37;
white-space: nowrap;
color: #B19EEF;
border-radius: 10px;
font-size: 0.8rem;
padding: 0.5em 1em;
transition: 0.3s ease;
}
.demo-details span:hover {
cursor: pointer;
background-color: #271E37;
}
.demo-extra-info {
margin: 1em 0;
display: flex;
align-items: center;
gap: 0.5em;
color: #a1a1aa;
}
.jsrepo-info a {
text-decoration: underline;
}
.cli-divider {
position: relative;
margin: 4em auto 3em;
width: 100%;
height: 1px;
background: linear-gradient(to right, transparent, #271E37, transparent);
}
.cli-divider::before {
content: "Or";
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
background-color: #060010;
padding: 0 1em;
color: #a1a1aa;
}
.coming-soon a {
color: #5227FF;
text-decoration: underline;
}
@media only screen and (max-width: 967px) {
.category-wrapper {
position: static;
}
.category-page {
width: 100%;
padding: 6em 1em 0;
}
.category-page .main-category {
font-size: 1rem;
}
.category-page .sub-category {
font-size: 3rem;
}
.split-text-demo,
.blur-text-demo {
font-size: 2rem;
font-weight: bolder;
}
.decrypted-text {
font-size: 1rem;
}
.variable-proximity-demo {
font-size: 1.6rem ;
}
}
.custom-gradient-class {
padding: 1em 2em;
text-align: center;
}
.count-up-text {
font-size: 4rem;
font-weight: bold;
}
.custom-spotlight-card {
user-select: none;
background-color: #170D27 ;
border: 1px solid #392e4e ;
width: 350px;
height: 300px;
}
.scroll-stack-card-demo {
font-size: clamp(1.5rem, 4vw, 3rem);
font-weight: 900;
color: #fff;
display: flex;
justify-content: space-between;
flex-direction: column;
gap: 1rem;
white-space: nowrap;
text-align: center;
}
.scroll-stack-card-demo .stack-img-container {
width: 100%;
height: 100%;
min-height: 150px;
border-radius: 1.5rem;
border: 10px solid #fff;
display: flex;
align-items: center;
justify-content: center;
font-size: clamp(4rem, 8vw, 8rem);
}
.scroll-stack-demo-container .scroll-stack-inner {
padding: 20vh 2rem 50rem;
}
.ssc-demo-1 {
background-color: #5227FF;
}
.ssc-demo-2 {
background-color: #f01e9c;
}
.ssc-demo-3 {
background-color: #5227FF;
}
.ssc-demo-4 {
background-color: #f01e9c;
}
.ssc-demo-5 {
background-color: #5227FF;
text-align: center;
justify-content: center;
align-items: center;
}
@media only screen and (min-width: 1240px) {
.scroll-stack-card-demo {
flex-direction: row;
gap: 2rem;
text-align: left;
}
.scroll-stack-demo-container .scroll-stack-inner {
padding: 20vh 5rem 50rem;
}
.scroll-stack-card-demo .stack-img-container {
width: 50%;
min-height: auto;
}
.scroll-stack-card-demo h3 {
margin-bottom: 1em;
}
}
@media only screen and (max-width: 480px) {
.scroll-stack-card-demo {
font-size: 1rem;
padding: 0.2rem;
gap: 0.5rem;
}
.scroll-stack-card-demo .stack-img-container {
border-width: 5px;
border-radius: 1rem;
min-height: 120px;
font-size: 3rem;
}
}