This commit is contained in:
Rotimi Best
2023-08-20 10:05:48 +01:00
parent 910d9c50a9
commit 3b1bbd1f5d
5 changed files with 10 additions and 22 deletions
@@ -253,7 +253,7 @@
<style lang="scss"> <style lang="scss">
.root { .root {
height: calc(100vh - 44px); height: calc(100vh - 45px);
display: flex; display: flex;
flex-direction: column; flex-direction: column;
min-width: 360px; min-width: 360px;
-15
View File
@@ -100,21 +100,6 @@
font-weight: 700; font-weight: 700;
} }
/* [aria-current] {
color: var(--main-primary-color);
position: relative;
display: inline-block;
}
[aria-current]::after {
position: absolute;
content: '';
width: calc(100% - 3em);
height: 2px;
background-color: var(--main-primary-color);
display: block;
bottom: -17px;
} */
@media only screen and (max-width: 1002px) { @media only screen and (max-width: 1002px) {
nav.hide { nav.hide {
display: none; display: none;
@@ -145,7 +145,7 @@
<div class="absolute h-[80vh] top-0 w-full opacity-80 z-10 bg-white" /> <div class="absolute h-[80vh] top-0 w-full opacity-80 z-10 bg-white" />
{#if video} {#if video}
<div class="flex items-center justify-center"> <div class="flex items-center justify-center h-full">
<div <div
class="md:w-11/12 lg:w-5/6 w-full flex items-center justify-between flex-col-reverse md:flex-row z-20 relative" class="md:w-11/12 lg:w-5/6 w-full flex items-center justify-between flex-col-reverse md:flex-row z-20 relative"
> >
+6 -3
View File
@@ -1,12 +1,15 @@
/** @type {import('tailwindcss').Config}*/ /** @type {import('tailwindcss').Config}*/
const config = { const config = {
content: ["./src/**/*.{html,js,svelte,ts}"], content: ['./src/**/*.{html,js,svelte,ts}'],
theme: { theme: {
extend: {}, extend: {}
}, },
plugins: [], plugins: []
}; };
module.exports = config; module.exports = config;
// generic name for component
// add theme-name dynamically on body
// have globaly style for theme-name .bg-primary-100
+2 -2
View File
@@ -3,7 +3,7 @@ export default {
darkMode: 'class', darkMode: 'class',
content: ['./src/**/*.{html,js,svelte,ts}'], content: ['./src/**/*.{html,js,svelte,ts}'],
theme: { theme: {
extend: {}, extend: {}
}, },
plugins: [require('@tailwindcss/typography'), require('@tailwindcss/forms')], plugins: [require('@tailwindcss/typography'), require('@tailwindcss/forms')]
}; };