diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..6f3a291 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "liveServer.settings.port": 5501 +} \ No newline at end of file diff --git a/Assets/Compact-CSS_banner.png b/Assets/Compact-CSS_banner.png new file mode 100644 index 0000000..280e32e Binary files /dev/null and b/Assets/Compact-CSS_banner.png differ diff --git a/Assets/Compact-CSS_favicon.png b/Assets/Compact-CSS_favicon.png new file mode 100644 index 0000000..9fcd6eb Binary files /dev/null and b/Assets/Compact-CSS_favicon.png differ diff --git a/Assets/banner.png b/Assets/banner.png new file mode 100644 index 0000000..3285cde Binary files /dev/null and b/Assets/banner.png differ diff --git a/Assets/final_v1_gif.gif b/Assets/final_v1_gif.gif new file mode 100644 index 0000000..7a9dff4 Binary files /dev/null and b/Assets/final_v1_gif.gif differ diff --git a/Components/Alert/alert.css b/Components/Alert/alert.css new file mode 100644 index 0000000..18003b6 --- /dev/null +++ b/Components/Alert/alert.css @@ -0,0 +1,59 @@ +@import url("/Util/util.css"); + +/* Alert */ +.alert { + display: flex; + align-items: center; + justify-content: flex-start; + border-radius: 0.2rem; + margin: 0.5rem 0; + padding: 1rem; +} + +.alert>p { + padding-left: 1rem; +} + +.alert-info { + background-color: #DBEAFE; + color: #1E3A8A; +} + +.alert-success { + background-color: #D1FAE5; + color: #064E3B; +} + +.alert-warning { + background-color: #FEF3C7; + color: #78350F; +} + +.alert-danger { + background-color: #FEE2E2; + color: #7F1D1D; +} + +.outline-alert-info { + background-color: #DBEAFE; + color: #1E3A8A; + border: solid 1px #1E3A8A; +} + +.outline-alert-success { + background-color: #D1FAE5; + color: #064E3B; + border: solid 1px #064E3B; +} + +.outline-alert-warning { + background-color: #FEF3C7; + color: #78350F; + border: solid 1px #78350F; +} + +.outline-alert-danger { + background-color: #FEE2E2; + color: #7F1D1D; + border: solid 1px #7F1D1D; +} \ No newline at end of file diff --git a/Components/Alert/alert.html b/Components/Alert/alert.html new file mode 100644 index 0000000..3fa17c4 --- /dev/null +++ b/Components/Alert/alert.html @@ -0,0 +1,72 @@ + + + + + + + + Alert + + + + + + +
+

Alert

+
Alerts are used to communicate a state that affects a system, feature or + page.
+
+
+

Simple Alert

+ +
+
+ +

There was an error processing your request.

+
+
+ +

Data uploaded to the server. Fire on!

+
+
+ +

Seems your account is about to expire.

+
+
+ +

Event is going live on July 30th. Get ready!

+
+
+ +
+ +
+ +

Outline Alert

+ +
+
+ +

There was an error processing your request.

+
+
+ +

Data uploaded to the server. Fire on!

+
+
+ +

Seems your account is about to expire.

+
+
+ +

Event is going live on July 30th. Get ready!

+
+
+ +
+ +
+ + + \ No newline at end of file diff --git a/Components/Avatar/avatar.css b/Components/Avatar/avatar.css new file mode 100644 index 0000000..096bf30 --- /dev/null +++ b/Components/Avatar/avatar.css @@ -0,0 +1,75 @@ +@import url("/Util/util.css"); + +.avatar { + border-radius: 50%; + width: 50px; + height: 50px; + margin: 0 0.5rem; +} + +.sm { + width: 30px; + height: 30px; +} + +.md { + width: 50px; + height: 50px; +} + +.lg { + width: 70px; + height: 70px; +} + +.xl { + width: 90px; + height: 90px; +} + +.xxl { + width: 110px; + height: 110px; +} + +.avatar-badge { + border-radius: 50%; + width: 50px; + height: 50px; + margin: 0 0.5rem; + position: relative; +} + +.badge-online { + width: 13px; + height: 13px; + border-radius: 50%; + border: solid 2px var(--badge-border); + background-color: var(--badge-online); + position: absolute; + bottom: 0rem; + left: 2.7rem; +} + +.badge-dnd { + width: 13px; + height: 13px; + border-radius: 50%; + border: solid 2px var(--badge-border); + background-color: var(--badge-dnd); + position: absolute; + bottom: 0rem; + left: 2.7rem; +} + +.badge-idle { + width: 13px; + height: 13px; + border-radius: 50%; + border: solid 2px var(--badge-border); + background-color: var(--badge-idle); + position: absolute; + bottom: 0rem; + left: 2.7rem; +} + diff --git a/Components/Avatar/avatar.html b/Components/Avatar/avatar.html new file mode 100644 index 0000000..ea181a8 --- /dev/null +++ b/Components/Avatar/avatar.html @@ -0,0 +1,76 @@ +https://bit.ly/2VTubQf + + + + + + + Avatar + + + + + + + +
+

Avatar

+
The Avatar component is used to represent a user, and displays the profile picture, + initials or fallback icon. +
+
+ +
+

Usage

+ +
+ Tanay-Pratap + dan-abramov + kent-c-dodds + code-beasto +
+ +
+ +
+ +

Avatar Sizes

+ +
+ Tanay-Pratap + Tanay-Pratap + Tanay-Pratap + Tanay-Pratap + Tanay-Pratap +
+ +
+ +
+ +

Avatar with badge

+ +
+
+ Tanay-Pratap +
+
+
+ kent-c-dodds +
+
+
+ code-beasto +
+
+
+ +
+ +
+
+ +
+ + + \ No newline at end of file diff --git a/Components/Badge/badge.css b/Components/Badge/badge.css new file mode 100644 index 0000000..0adf8b8 --- /dev/null +++ b/Components/Badge/badge.css @@ -0,0 +1,51 @@ +@import url("/Util/util.css"); + +.badge { + border-radius: 0.2rem; + background-color: #EDF2F7; + padding: 0.1rem 0.3rem; + font-weight: bold; +} + +.badge-success { + background-color: #D1FAE5; + color: #064E3B; +} + +.badge-removed { + background-color: #FEE2E2; + color: #7F1D1D; +} + +.badge-new { + background-color: #DDD6FE; + color: #6D28D9 ; +} + +.outline-badge { + border: solid 1px #A78BFA; + color: #A78BFA; +} + +.solid-badge { + background-color: #A78BFA; + border: solid 1px #A78BFA; + color: white; +} + +.subtle-badge { + background-color: #DDD6FE; + color: #6D28D9 ; +} + +.sm-badge { + font-size: small; +} + +.md-badge { + font-size: medium; +} + +.lg-badge { + font-size: large; +} \ No newline at end of file diff --git a/Components/Badge/badge.html b/Components/Badge/badge.html new file mode 100644 index 0000000..6354950 --- /dev/null +++ b/Components/Badge/badge.html @@ -0,0 +1,74 @@ + + + + + + + + Badge + + + + + + + +
+

Badge

+
Badges are used to highlight an item's status for quick recognition. +
+
+ +
+

Usage

+ +
+ default +
+ +
+ +
+ +

Badge Color

+ +
+
DEFAULT
+ SUCCESS + REMOVED + NEW +
+ +
+ +
+ +

Badge Variants

+ +
+ DEFAULT + DEFAULT + DEFAULT +
+ +
+ +
+ +

Badge Sizes

+ +
+ DEFAULT + DEFAULT + DEFAULT +
+ +
+ +
+ +
+ +
+ + \ No newline at end of file diff --git a/Components/Button/button.css b/Components/Button/button.css new file mode 100644 index 0000000..71818f2 --- /dev/null +++ b/Components/Button/button.css @@ -0,0 +1,69 @@ +@import url("/Util/util.css"); + +.btn { + padding: 0.5rem 1rem; + border: solid 1px black; + border-radius: 0.2rem; + font-weight: bold; + cursor: pointer; +} + +.btn-primary { + background-color: #A78BFA; + color: white; + border: none; +} + +.btn-secondary { + background-color: #F5F3FF; + color: #374151; + border: none; +} + +.btn-error { + background-color: #EF4444; + color: white; + border: none; +} + +.btn-success { + background-color: #10B981; + color: white; + border: none; +} + +.btn-warning { + background-color: #FBBF24; + color: white; + border: none; +} + +.outline-btn-primary { + border: solid 1px #A78BFA; + background-color: white; + color: #A78BFA; +} + +.outline-btn-error { + border: solid 1px #EF4444; + background-color: white; + color: #EF4444; +} + +.outline-btn-success { + border: solid 1px #10B981; + background-color: white; + color: #10B981; +} + +.outline-btn-warning { + border: solid 1px #FBBF24; + background-color: white; + color: #FBBF24; +} + +.icon-btn { + background-color: #1DA1F2; + color: white; + border: none; +} \ No newline at end of file diff --git a/Components/Button/button.html b/Components/Button/button.html new file mode 100644 index 0000000..a0707b7 --- /dev/null +++ b/Components/Button/button.html @@ -0,0 +1,77 @@ + + + + + + + + Button + + + + + + + +
+

Button

+
The Button component is used to trigger an action or event, such as submitting a form, + opening a dialog, canceling an action, or performing a delete operation. +
+
+ +
+

Usage

+ +
+ +
+ +
+ +
+ +

Button Variation

+ +
+ + + + +
+ +
+ +
+ +

Outline Button

+ +
+ + + + +
+ +
+ +
+ +

Icon Button

+ +
+ +
+ +
+ +
+ +
+ +
+ + \ No newline at end of file diff --git a/Components/Card/card.css b/Components/Card/card.css new file mode 100644 index 0000000..8d7b347 --- /dev/null +++ b/Components/Card/card.css @@ -0,0 +1,92 @@ +@import url("/Util/util.css"); + +.row { + display: flex; + flex-wrap: wrap; + /* align-items: center; + height: 700px; */ +} + +/* simple card */ +.card { + display: flex; + flex-direction: column; + max-width: 270px; + background-color: #F9FAFB; + border-radius: 0.2rem; + box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px; +} + +.card-heading { + font-size: 1.5rem; + font-weight: 600; + padding: .5rem 1rem 0; +} + +.card-content { + font-size: 1rem; + font-weight: lighter; + color: #444444; + padding: 1rem; + color: #6B7280; +} + +/* image card */ +.img-card { + border-radius: 0.2rem 0.2rem 0 0; + background-repeat: no-repeat; + background-size: cover; +} + +/* e-commerce card */ + +.e-comm-card { + max-width: 200px; + position: relative; +} + +.e-comm-title { + font-size: 0.8rem; + font-weight: 600; + padding: 0.5rem 0.5rem 0; +} + +.e-comm-content { + font-size: 0.7rem; + color: #6B7280; + padding: 0 0.5rem; +} + +.e-comm-price { + padding: 0.5rem 0.5rem 1rem ; + font-size: 0.8rem; + font-weight: 600; +} + +.e-comm-price-cut { + text-decoration: line-through; +} + +.e-comm-disc { + color: #EF4444; +} + +.e-comm-btn { + margin: 0 0.5rem 0.5rem; +} + +.e-comm-like { + position: absolute; + top: 0.3rem; + right: 0.3rem; + background-color: transparent; + border:none; + cursor: pointer; + outline: none; +} + +.e-comm-badge { + position: absolute; + top: 0.3rem; + left: -0.2rem; +} \ No newline at end of file diff --git a/Components/Card/card.html b/Components/Card/card.html new file mode 100644 index 0000000..3e028eb --- /dev/null +++ b/Components/Card/card.html @@ -0,0 +1,120 @@ + + + + + + + + Card + + + + + + + + +
+

Card

+
Cards contain content and actions about a single subject. +

Cards are surfaces that display content and actions on a single topic. + +

They should be easy to scan for relevant and actionable information. Elements, like text and + images, should + be placed on them in a way that clearly indicates hierarchy. +
+
+ +
+

Simple Card

+ + +
+
+
The Powerpuff Girls
+
The Powerpuff Girls is an American superhero animated television series. +
+
+
+ +
+ +
+ +

Image Card

+ + +
+
+ powerpuff-girls +
The Powerpuff Girls
+
The Powerpuff Girls is an American superhero animated television series. +
+
+
+ +
+ +
+ +

eCommerce Card

+ + +
+
+ Men's T-shirt + + + +
Kook N Keech
+ Pure Cotton Printed T-shirt + +
+ Rs. 499 + Rs. 999 + (50% OFF) +
+ +
+
+ +
+ +
+ +

eCommerce Card with badge

+ +
+
+ Men's T-shirt + + + + NEW + +
Kook N Keech
+ Pure Cotton Printed T-shirt + +
+ Rs. 499 + Rs. 999 + (50% OFF) +
+ +
+
+ +
+ +
+ +
+ +
+ + + \ No newline at end of file diff --git a/Components/Util/util.css b/Components/Util/util.css new file mode 100644 index 0000000..9ade08e --- /dev/null +++ b/Components/Util/util.css @@ -0,0 +1,368 @@ +@import url('https://fonts.googleapis.com/css2?family=Red+Hat+Display:wght@400;700&display=swap'); +@import url("/Components/Alert/alert.css"); +@import url("/Components/Avatar/avatar.css"); +@import url("/Components/Badge/badge.css"); +@import url("/Components/Button/button.css"); +@import url("/Components/Card/card.css"); +html { + scroll-behavior: smooth; +} +/* Custom Scrollbar */ +/* width */ +::-webkit-scrollbar { + width: 8px; +} + +/* Track */ +::-webkit-scrollbar-track { + background: var(--badge-border); +} + +/* Handle */ +::-webkit-scrollbar-thumb { + background: var(--badge-border); +} + +/* Handle on hover */ +::-webkit-scrollbar-thumb:hover { + background: var(--badge-border); +} + +* { + margin: 0; + padding: 0; + /* box-sizing: border-box; */ +} + +body { + font-family: 'Poppins', sans-serif; + background: white; + color: var(--social-handler); +} + +:root { + --primary-color: #A78BFA; + + --social-handler: #374151; + + --aside-hr: #d9d9d9; + + --badge-border: #ffffff; + --badge-online: #36CC00; + --badge-dnd: #ff0000; + --badge-idle: #FAA61A; + + --grid-border: #374151; + + --scrollbar-track: #F3F4F6; + --scrollbar-thumb: #E5E7EB; + --scrollbar-thumb-hover: #D1D5DB; +} + +/* Headings */ +h1, +h2, +h3, +h4, +h5, +h6 { + margin: 0.5rem 0; + display: block; +} + +/* Paragraph */ +/* p { + margin-bottom: 0.4rem; + display: block; +} */ + +/* Padding Around */ +.p-1 { + padding: 1rem; +} + +.p-2 { + padding: 2rem; +} + +.p-3 { + padding: 3rem; +} + +.p-4 { + padding: 4rem; +} + +/* Padding Top */ +.pt-1 { + padding-top: 1rem; +} + +.pt-2 { + padding-top: 2rem; +} + +.pt-3 { + padding-top: 3rem; +} + +.pt-4 { + padding-top: 4rem; +} + +/* Padding Bottom */ +.pb-1 { + padding-bottom: 1rem; +} + +.pb-2 { + padding-bottom: 2rem; +} + +.pb-3 { + padding-bottom: 3rem; +} + +.pb-4 { + padding-bottom: 4rem; +} + +/* Padding Left */ +.pl-1 { + padding-left: 1rem; +} + +.pl-2 { + padding-left: 2rem; +} + +.pl-3 { + padding-left: 3rem; +} + +.pl-4 { + padding-left: 4rem; +} + +/* Padding Right */ +.pr-1 { + padding-right: 1rem; +} + +.pr-2 { + padding-right: 2rem; +} + +.pr-3 { + padding-right: 3rem; +} + +.pr-4 { + padding-right: 4rem; +} + +/* Padding Y */ +.py-1 { + padding: 1rem 0; +} + +.py-2 { + padding-bottom: 2rem 0; +} + +.py-3 { + padding-bottom: 3rem 0; +} + +.py-4 { + padding-bottom: 4rem 0; +} + +/* Padding X */ +.px-1 { + padding: 0 1rem; +} + +.px-2 { + padding-bottom: 0 2rem; +} + +.px-3 { + padding-bottom: 0 3rem; +} + +.px-4 { + padding-bottom: 0 4rem; +} + +/* MARGIN*/ +/* margin Around */ +.m-1 { + margin: 1rem; +} + +.m-2 { + margin: 2rem; +} + +.m-3 { + margin: 3rem; +} + +.m-4 { + margin: 4rem; +} + +/* margin Top */ +.mt-1 { + margin-top: 1rem; +} + +.mt-2 { + margin-top: 2rem; +} + +.mt-3 { + margin-top: 3rem; +} + +.mt-4 { + margin-top: 4rem; +} + +/* margin Bottom */ +.mb-1 { + margin-bottom: 1rem; +} + +.mb-2 { + margin-bottom: 2rem; +} + +.mb-3 { + margin-bottom: 3rem; +} + +.mb-4 { + margin-bottom: 4rem; +} + +/* margin Left */ +.ml-1 { + margin-left: 1rem; +} + +.ml-2 { + margin-left: 2rem; +} + +.ml-3 { + margin-left: 3rem; +} + +.ml-4 { + margin-left: 4rem; +} + +/* margin Right */ +.mr-1 { + margin-right: 1rem; +} + +.mr-2 { + margin-right: 2rem; +} + +.mr-3 { + margin-right: 3rem; +} + +.mr-4 { + margin-right: 4rem; +} + +/* margin Y */ +.my-1 { + margin: 1rem 0; +} + +.my-2 { + margin-bottom: 2rem 0; +} + +.my-3 { + margin-bottom: 3rem 0; +} + +.my-4 { + margin-bottom: 4rem 0; +} + +/* margin X */ +.mx-1 { + margin: 0 1rem; +} + +.mx-2 { + margin-bottom: 0 2rem; +} + +.mx-3 { + margin-bottom: 0 3rem; +} + +.mx-4 { + margin-bottom: 0 4rem; +} + +/* Margin auto */ +.ma { + margin: auto; +} + +/* Alignment Classes */ +.text-left { + text-align: left; +} + +.text-center { + text-align: center; +} + +.text-right { + text-align: right; +} + +.text-justify { + text-align: justify; +} + +hr { + margin: 1rem 0 2rem 0; +} + +.outer-div { + margin: 1rem 0; + max-width: 500px; + +} + +.extra-outer-div { + margin: 1rem 0; + max-width: 600px; +} + +.sub-head { + max-width: 800px; + font-size: 1rem; +} + +.flex { + display: flex; +} + +.flex-wrap { + flex-wrap: wrap; + justify-content: space-between; +} + diff --git a/README.md b/README.md index c4a8d69..a74b421 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,3 @@ -# comp-lib - +# Compact CSS | Build blazing fast modern Components + + diff --git a/docs.html b/docs.html new file mode 100644 index 0000000..28c99cf --- /dev/null +++ b/docs.html @@ -0,0 +1,505 @@ + + + + + + + + + + + + Docs | Compact CSS + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +
+
+ + +
+ + + +
+ + +
+

Getting Started

+

Installation

+
Copy-paste the below stylesheet into your head element before all other + stylesheets. +
+ +
+ + +
+ +

Contributing

+
Please visit our GitHub Repository to learn how you can contribute to this + project.
(contribution guidelines will be listed) +

Any sort of Contribution is welcomed! +
+
+ + + +
+

Alert

+
Alerts are used to communicate a state that affects a system, feature or page. +
+
+ +
+

Simple Alert

+ +
+ +
+ +

There was an error processing your request.

+
+
+ +

Data uploaded to the server. Fire on!

+
+
+ +

Seems your account is about to expire.

+
+
+ +

Event is going live on July 30th. Get ready!

+
+ +
+ +
+ +
+ +

Outline Alert

+ +
+ +
+ +

There was an error processing your request.

+
+
+ +

Data uploaded to the server. Fire on!

+
+
+ +

Seems your account is about to expire.

+
+
+ +

Event is going live on July 30th. Get ready!

+
+ +
+ +
+ +
+
+
+ + +
+

Avatar

+
The Avatar component is used to represent a user, and displays the profile + picture, + initials or fallback icon. +
+
+ +
+

Usage

+ +
+ Tanay-Pratap + dan-abramov + kent-c-dodds + code-beasto +
+ +
+ +
+ +

Avatar Sizes

+ +
+ Tanay-Pratap + Tanay-Pratap + Tanay-Pratap + Tanay-Pratap + Tanay-Pratap +
+ +
+ +
+ +

Avatar with badge

+ +
+
+ Tanay-Pratap +
+
+
+ kent-c-dodds +
+
+
+ code-beasto +
+
+
+ +
+ +
+
+
+ + +
+

Badge

+
Badges are used to highlight an item's status for quick recognition. +
+
+ +
+

Usage

+ +
+ DEFAULT +
+ +
+ +
+ +

Badge Color

+ +
+ DEFAULT + SUCCESS + REMOVED + NEW +
+ +
+ +
+ +

Badge Variants

+ +
+ DEFAULT + DEFAULT + DEFAULT +
+ +
+ +
+ +

Badge Sizes

+ +
+ DEFAULT + DEFAULT + DEFAULT +
+ +
+ +
+ +
+
+ + +
+

Button

+
The Button component is used to trigger an action or event, such as submitting + a form, + opening a dialog, canceling an action, or performing a delete operation. +
+
+ +
+

Usage

+ +
+ +
+ +
+ +
+ +

Button Variation

+ +
+ + + + + +
+ +
+ +
+ +

Outline Button

+ +
+ + + + + +
+ +
+ +
+ +

Icon Button

+ +
+ +
+ +
+ +
+ +
+
+ + +
+

Card

+
Cards contain content and actions about a single subject. Cards are surfaces + that + display content and actions on a single topic. + +

They should be easy to scan for relevant and actionable information. Elements, like + text + and + images, should + be placed on them in a way that clearly indicates hierarchy. +
+
+ +
+

Simple Card

+ +
+
+
The Powerpuff Girls
+
The Powerpuff Girls is an American superhero animated + television + series. +
+
+
+ +
+ +
+ +

Image Card

+ +
+
+ powerpuff-girls +
The Powerpuff Girls
+
The Powerpuff Girls is an American superhero animated + television + series. +
+
+
+ +
+ +
+ +

eCommerce Card

+ +
+
+ Men's T-shirt + + + +
Kook N Keech
+ Pure Cotton Printed T-shirt + +
+ Rs. 499 + Rs. 999 + (50% OFF) +
+ +
+
+ +
+ +
+ +

eCommerce Card with badge

+ +
+
+ Men's T-shirt + + + + NEW + +
Kook N Keech
+ Pure Cotton Printed T-shirt + +
+ Rs. 499 + Rs. 999 + (50% OFF) +
+ +
+
+ +
+ +
+
+ +
+ +
+

Image

+
Coming Soon... +
+
+
+ +
+

Input

+
Coming Soon... +
+
+
+ +
+

List

+
Coming Soon... +
+
+
+
+
+ +
+ + + \ No newline at end of file diff --git a/index.html b/index.html new file mode 100644 index 0000000..4f685d4 --- /dev/null +++ b/index.html @@ -0,0 +1,77 @@ + + + + + + + + + + + + Compact CSS + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+
+ Build blazing fast modern
Components with Compact CSS +
+ + + + + +
+
+ + + \ No newline at end of file diff --git a/style.css b/style.css new file mode 100644 index 0000000..f7b50c4 --- /dev/null +++ b/style.css @@ -0,0 +1,259 @@ +@import url("/Components/Util/util.css"); +* { + margin: 0; + padding: 0; + scroll-behavior: smooth; +} + +body { + border-top: solid 5px var(--primary-color); + /* overflow-y: hidden; */ +} + +/* Overall layout of Documentation site */ +.doc-layout { + width: 100%; + height: 100vh; + display: grid; + grid-template-areas: + "nav nav nav" + "aside main main" + "aside main main" + "aside main main" + "aside main main" + ; + + grid-template-columns: 20% auto; + grid-template-rows: 10% auto; + + margin: auto; + max-width: 1200px; + align-content: center; + + overflow-x: hidden; +} + +.nav { + grid-area: nav; + padding: 1rem; +} + +.aside { + grid-area: aside; + padding: 0 1rem; + overflow: auto; +} + +.main { + grid-area: main; + padding: 1rem; + overflow: auto; +} + +.float { + position: fixed; + bottom: 1rem; + right: 0.5rem; + + z-index: 1111; + animation: float 1s infinite; +} + +@keyframes float { + 0% { + -webkit-transform: translateY(0); + transform: translateY(0); + } + 50% { + -webkit-transform: translateY(-6px); + transform: translateY(-6px); + } + 100% { + -webkit-transform: translateY(0); + transform: translateY(0); + } +} + +.float a { + display: flex; + justify-content: center; + align-items: center; + + color: #fff; + background-color: var(--primary-color); + + border-radius: 50%; + border: 1px solid var(--primary-color); + + text-decoration: none; + padding: 0.5rem 0.6rem; + margin: 0.2rem; + + box-shadow: rgba(14, 30, 37, 0.12) 0px 2px 4px 0px, rgba(14, 30, 37, 0.32) 0px 2px 16px 0px; +} + +.plus { + font-weight: 600; + font-size: 1.7rem; +} + +/* Navigation */ +.nav { + display: flex; + justify-content: space-between; + align-items: center; +} + +.brand { + display: flex; + align-items: center; + justify-content: space-between; +} + +.brand .fas { + font-size: 3.5rem; +} + +.brand-name { + text-decoration: none; + font-weight: 700; + color: var(--primary-color); + font-size: 1.5rem; + margin: 0 1rem; +} + +.list-inline { + display: flex; + justify-content: space-between; +} + +.list-inline li { + list-style: none; + margin: 0.5rem; +} + +.list-inline .link { + color: var(--social-handler); +} + +.comp-list-link>a { + text-decoration: none; + color: var(--primary-color); ; +} + +.comp-list-link:hover { + background-color: #F5F3FF; + border-radius: 0.3rem; +} + +.link { + text-decoration: none; + font-weight: bold; + font-size: large; + color: var(--social-handler); +} + +/* Aside */ +.comp { + padding: 1rem 0; + font-weight: 700; + border-bottom: 1px solid var(--aside-hr); + margin-bottom: .5rem; +} + +.comp-list { + list-style: none; + display: block; + font-weight: 600; +} + +.comp-list>li { + margin: 0.5rem 0; + padding: 0.5rem; +} + +/* Main */ +.main-block { + display: flex; + flex-direction: column; + margin: 0 auto; + max-width: 700px; +} + +.brand-spell { + font-weight: 600; + color: var(--primary-color); + font-size: 1rem; + text-decoration: none; +} + +#installation { + height: 726px; +} + +.max-width { + margin: auto; + max-width: 1200px; +} + +/* index.html page */ +.home-page { + height: 60vh; + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + text-align: center; + padding: 1rem; + margin: 1rem; +} +.linear-gradient { + background: linear-gradient(110deg, #374151, #A78BFA); + -webkit-text-fill-color: transparent; + -webkit-background-clip: text; +} +.main-font { + font-weight: 700; + font-size: 4rem; + /* background: linear-gradient( #374151, #A78BFA); + -webkit-text-fill-color: transparent; + -webkit-background-clip: text; */ +} + +.btn-large { + font-size: 2rem; + font-weight: 400; + box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.1); +} + +.compact-css { + color: var(--primary-color); +} + +@media screen and (max-width: 768px) { + body { + font-size: 16px; + } + + .doc-layout { + width: 100%; + height: 100vh; + display: grid; + grid-template-areas: + "nav" + "main" + ; + + grid-template-columns: 100%; + grid-template-rows: 10% 90%; + } + + .main-font { + font-size: 2rem; + } + + .btn-large { + font-size: 1rem; + font-weight: 400; + } +} \ No newline at end of file