cleanup: remove css styles that are not used or needed

This commit is contained in:
Ivana Andersson 2023-08-16 15:54:13 +03:00
parent 7789178772
commit e7a4b88f63
6 changed files with 13 additions and 76 deletions

View File

@ -1,30 +1,13 @@
#root { #root {
width: 100%; width: 100%;
} }
ul{
@media (prefers-reduced-motion: no-preference) { list-style-type: none;
a:nth-of-type(2) .logo { padding: 0;
animation: logo-spin infinite 20s linear; margin: 0;
} display: flex;
} }
ul li {
/* span { padding: 0 1rem;
display: inline-block; font-size: 15px;
vertical-align: middle;
line-height: 1;
} */
.mb-1 {
margin-bottom: 1em;
}
.mt-1 {
margin-top: 1em;
}
.my-1 {
margin-top: 1em;
margin-bottom: 1em;
}
.py-05 {
padding-top: 0.5em;
padding-bottom: 0.5em;
} }

View File

@ -1,4 +1,4 @@
import './breadcrumbbar.css' import './BreadcrumbBar.css'
type BreadcrumbBarProps = { type BreadcrumbBarProps = {
breadcrumbList: string[] breadcrumbList: string[]

View File

@ -4,19 +4,14 @@
padding: 1rem 2rem; padding: 1rem 2rem;
margin: 0.5rem; margin: 0.5rem;
} }
.breadcrumb-bar-ul {
list-style-type: none;
display: flex;
padding: 0;
margin: 0;
}
.breadcrumb-bar-li { .breadcrumb-bar-li {
padding: 0 1em;
color: #647084; color: #647084;
font-size: 15px;
font-weight: 500; font-weight: 500;
position: relative; position: relative;
} }
.breadcrumb-bar-li:last-child {
color: #09101C;
}
.breadcrumb-bar-li::after { .breadcrumb-bar-li::after {
display: inline-block; display: inline-block;
content: url("/icons/chevron.svg"); content: url("/icons/chevron.svg");
@ -26,10 +21,7 @@
left: 100%; left: 100%;
transform: translateX(-50%); transform: translateX(-50%);
} }
.breadcrumb-bar-li:last-child {
color: #09101C;
}
.breadcrumb-bar-li:last-child::after { .breadcrumb-bar-li:last-child::after {
display: none; display: none;
} }

View File

@ -14,22 +14,12 @@
} }
.quick-start-bar > div { .quick-start-bar > div {
width: 100%; width: 100%;
display: flex;
justify-content: space-between;
align-items: center;
border-radius: 24px; border-radius: 24px;
background: rgba(100, 112, 132, 0.05); background: rgba(100, 112, 132, 0.05);
margin-left: 1rem; margin-left: 1rem;
padding: 1rem 0.5rem;
} }
.quick-start-bar ul {
list-style-type: none;
display: flex;
padding: 0;
margin: 0;
}
.quick-start-bar ul li { .quick-start-bar ul li {
padding: 0 1rem;
color: #0D1625; color: #0D1625;
font-size: 13px; font-size: 13px;
} }

View File

@ -38,7 +38,6 @@ const QuickStartBar = () => {
<li>Nodes Community</li> <li>Nodes Community</li>
<li>Documentation</li> <li>Documentation</li>
</ul> </ul>
<button className="inversed">Quick Start</button>
</div> </div>
</nav> </nav>
) )

View File

@ -24,51 +24,24 @@ body {
min-width: 320px; min-width: 320px;
min-height: 100vh; min-height: 100vh;
} }
h1, h2, h3, h4, h5, h6 { h1, h2, h3, h4, h5, h6 {
line-height: 1.2; line-height: 1.2;
font-weight: 700; font-weight: 700;
} }
h1 {
font-size: 3.2em;
}
a { a {
font-weight: 500; font-weight: 500;
text-decoration: inherit; text-decoration: inherit;
cursor: pointer; cursor: pointer;
} }
a:hover {
color: #535bf2;
}
button { button {
border-radius: 12px; border-radius: 12px;
border: 1px solid transparent; border: 1px solid transparent;
padding: 0.6em 1.2em;
font-size: 15px; font-size: 15px;
font-weight: 500; font-weight: 500;
font-family: inherit; font-family: inherit;
background-color: #2A4AF5;
cursor: pointer;
transition: border-color 0.25s;
}
button.inversed {
border-radius: 12px;
border: 1px solid #2A4AF5;
color: #2A4AF5;
padding: 0.75em 1.2em;
font-size: 15px;
background-color:transparent;
font-weight: 500;
font-family: inherit;
cursor: pointer; cursor: pointer;
transition: border-color 0.25s; transition: border-color 0.25s;
} }
button:hover {
border-color: #646cff;
}
button:focus, button:focus,
button:focus-visible { button:focus-visible {
outline: 4px auto -webkit-focus-ring-color; outline: 4px auto -webkit-focus-ring-color;