This commit is contained in:
Dede Fuji Abdul
2023-10-17 09:20:08 +07:00
parent 1080aeca75
commit fc37eab5db
11 changed files with 303 additions and 831 deletions

View File

@ -1,78 +1,3 @@
/* color palette from <https://github.com/vuejs/theme> */
:root {
--vt-c-white: #ffffff;
--vt-c-white-soft: #f8f8f8;
--vt-c-white-mute: #f2f2f2;
--vt-c-black: #181818;
--vt-c-black-soft: #222222;
--vt-c-black-mute: #282828;
--vt-c-indigo: #2c3e50;
--vt-c-divider-light-1: rgba(60, 60, 60, 0.29);
--vt-c-divider-light-2: rgba(60, 60, 60, 0.12);
--vt-c-divider-dark-1: rgba(84, 84, 84, 0.65);
--vt-c-divider-dark-2: rgba(84, 84, 84, 0.48);
--vt-c-text-light-1: var(--vt-c-indigo);
--vt-c-text-light-2: rgba(60, 60, 60, 0.66);
--vt-c-text-dark-1: var(--vt-c-white);
--vt-c-text-dark-2: rgba(235, 235, 235, 0.64);
}
/* semantic color variables for this project */
:root {
--color-background: var(--vt-c-white);
--color-background-soft: var(--vt-c-white-soft);
--color-background-mute: var(--vt-c-white-mute);
--color-border: var(--vt-c-divider-light-2);
--color-border-hover: var(--vt-c-divider-light-1);
--color-heading: var(--vt-c-text-light-1);
--color-text: var(--vt-c-text-light-1);
--section-gap: 160px;
}
@media (prefers-color-scheme: dark) {
:root {
--color-background: var(--vt-c-black);
--color-background-soft: var(--vt-c-black-soft);
--color-background-mute: var(--vt-c-black-mute);
--color-border: var(--vt-c-divider-dark-2);
--color-border-hover: var(--vt-c-divider-dark-1);
--color-heading: var(--vt-c-text-dark-1);
--color-text: var(--vt-c-text-dark-2);
}
}
*,
*::before,
*::after {
box-sizing: border-box;
margin: 0;
font-weight: normal;
}
body {
min-height: 100vh;
color: var(--color-text);
background: var(--color-background);
transition: color 0.5s, background-color 0.5s;
line-height: 1.6;
font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu,
Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
font-size: 15px;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
/* Firefox */
* {
scrollbar-width: 4px;
@ -93,4 +18,40 @@ body {
background-color: var(--secondary);
border-radius: 14px;
border: 3px solid var(--primary);
}
* { -webkit-tap-highlight-color: rgba(0,0,0,0); }
.no-scroll-bar {
-ms-overflow-style: none;
scrollbar-width: none;
}
.no-scroll-bar::-webkit-scrollbar {
display: none;
}
.scroll-container::-webkit-scrollbar {
width: 8px;
height: 8px;
background-color: #F3F4F6;
transition: background-color 0.5s;
}
.scroll-container::-webkit-scrollbar-thumb {
border-radius: 8px;
background-color: #D1D5DB;
transition: background-color 0.5s;
}
.scroll-hidden::-webkit-scrollbar {
width: 8px;
height: 8px;
background-color: transparent;
transition: background-color 0.5s;
}
.scroll-hidden::-webkit-scrollbar-thumb {
border-radius: 8px;
background-color: transparent;
transition: background-color 0.5s;
}

View File

@ -1,39 +1,3 @@
/* @import './base.css'; */
@import './base.css';
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;700&display=swap');
@import './style.css';
/* #app {
max-width: 1280px;
margin: 0 auto;
padding: 2rem;
font-weight: normal;
} */
/* a,
.green {
text-decoration: none;
color: hsla(160, 100%, 37%, 1);
transition: 0.4s;
}
@media (hover: hover) {
a:hover {
background-color: hsla(160, 100%, 37%, 0.2);
}
}
@media (min-width: 1024px) {
body {
display: flex;
place-items: center;
}
#app {
display: grid;
grid-template-columns: 1fr 1fr;
padding: 0 2rem;
}
} */
@import './style.css';

View File

@ -1068,6 +1068,10 @@ select {
height: 74vh;
}
.h-\[calc\(100\%-64px\)\] {
height: calc(100% - 64px);
}
.h-fit {
height: -moz-fit-content;
height: fit-content;
@ -1081,18 +1085,6 @@ select {
height: 80vh;
}
.h-\[calc\(100\%-56px\)\] {
height: calc(100% - 56px);
}
.h-\[calc\(100\%-60px\)\] {
height: calc(100% - 60px);
}
.h-\[calc\(100\%-64px\)\] {
height: calc(100% - 64px);
}
.max-h-0 {
max-height: 0px;
}
@ -1105,10 +1097,6 @@ select {
max-height: 1000px;
}
.max-h-full {
max-height: 100%;
}
.min-h-0 {
min-height: 0px;
}
@ -1221,10 +1209,6 @@ select {
width: 100vw;
}
.w-\[200px\] {
width: 200px;
}
.min-w-0 {
min-width: 0px;
}
@ -1521,10 +1505,6 @@ select {
border-radius: 0.75rem;
}
.rounded-3xl {
border-radius: 1.5rem;
}
.rounded-l-full {
border-top-left-radius: 9999px;
border-bottom-left-radius: 9999px;
@ -1723,6 +1703,11 @@ select {
background-color: rgb(204 0 0 / var(--tw-bg-opacity));
}
.bg-secondary-100 {
--tw-bg-opacity: 1;
background-color: rgb(204 235 239 / var(--tw-bg-opacity));
}
.bg-transparent {
background-color: transparent;
}
@ -1747,11 +1732,6 @@ select {
background-color: rgb(255 255 255 / var(--tw-bg-opacity));
}
.bg-secondary-100 {
--tw-bg-opacity: 1;
background-color: rgb(204 235 239 / var(--tw-bg-opacity));
}
.bg-opacity-25 {
--tw-bg-opacity: 0.25;
}
@ -2168,6 +2148,11 @@ select {
color: rgb(234 88 12 / var(--tw-text-opacity));
}
.text-primary-50 {
--tw-text-opacity: 1;
color: rgb(230 239 241 / var(--tw-text-opacity));
}
.text-primary-500 {
--tw-text-opacity: 1;
color: rgb(3 91 113 / var(--tw-text-opacity));
@ -2213,11 +2198,6 @@ select {
color: rgb(255 255 255 / var(--tw-text-opacity));
}
.text-primary-50 {
--tw-text-opacity: 1;
color: rgb(230 239 241 / var(--tw-text-opacity));
}
.text-opacity-100 {
--tw-text-opacity: 1;
}
@ -3022,14 +3002,14 @@ select {
margin-left: 20rem;
}
.md\:mr-6 {
margin-right: 1.5rem;
}
.md\:mr-4 {
margin-right: 1rem;
}
.md\:mr-6 {
margin-right: 1.5rem;
}
.md\:block {
display: block;
}
@ -3050,10 +3030,6 @@ select {
width: 20rem;
}
.md\:w-\[200px\] {
width: 200px;
}
.md\:w-\[300px\] {
width: 300px;
}
@ -3093,21 +3069,6 @@ select {
padding-bottom: 1.5rem;
}
.md\:px-2 {
padding-left: 0.5rem;
padding-right: 0.5rem;
}
.md\:py-1 {
padding-top: 0.25rem;
padding-bottom: 0.25rem;
}
.md\:px-1 {
padding-left: 0.25rem;
padding-right: 0.25rem;
}
.md\:pl-80 {
padding-left: 20rem;
}