diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..35eb1dd --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/src/lib/components/header/Header.svelte b/src/lib/components/header/Header.svelte index f3489d2..22ce4c4 100644 --- a/src/lib/components/header/Header.svelte +++ b/src/lib/components/header/Header.svelte @@ -1,48 +1,224 @@ - -
- -
+ .text-color__nav-open { + color: #ffffff; + } - + .nav__list--open { + visibility: visible; + } + + .logo-wrapper { + display: flex; + align-items: center; + } + + .mobile-logo { + display: block; + } + + .desktop-logo { + display: none; + } + /* SM (for tablets - screens ≥ than 768px wide) */ + @media (min-width: 768px) { + /* CSS rules for tablets go here */ + .mobile-logo { + display: none; + } + + .desktop-logo { + display: block; + } + } + + /* MD (for small laptops - screens ≥ than 992px wide) */ + @media (min-width: 992px) { + /* CSS rules for small laptops go here */ + } + + /* LG (for laptops and desktops - screens ≥ than 1200px wide) */ + @media (min-width: 1200px) { + /* CSS rules for laptops and desktops go here */ + } + \ No newline at end of file diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index 0c6973d..9631a53 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -3,8 +3,8 @@ // Import Components import Header from "$lib/components/header/Header.svelte"; import Footer from "$lib/components/footer/Footer.svelte"; - // Import Style - // import './styles.css'; + import "./global.css"; + // import 'styles/global.css'; diff --git a/src/routes/global.css b/src/routes/global.css new file mode 100644 index 0000000..93bd804 --- /dev/null +++ b/src/routes/global.css @@ -0,0 +1,142 @@ + + +:root { + --color-blue: #14539A; + +} +* { + padding: 0; + margin: 0; + box-sizing: border-box; + font-family: "Lato", sans-serif; +} + +html { + scroll-behavior: smooth; +} + +h1, +h2, +h5, +h6, +span { + color: #242424; + text-align: center; + line-height: 1.25; +} + +h1 { + font-size: 36px; +} + +h3{ + text-align: left; + color: #fff; + +} + +p { + line-height: 1.5; + font-size: 16px; +} + +button{ + border: none; +} +a { + text-decoration: none; + position: relative; + transition: opacity 300ms ease; +} + +i:hover { + opacity: 0.7; +} + +li { + list-style-type: none; +} + +.flex { + display: flex; +} + +.flex-1 { + flex: 1; +} + +.container-class { + padding: 50px 0; +} + +.row-class { + width: 100%; + max-width: 800px; + margin: 0 auto; + padding: 0 12px; +} + +.text--blue { + color: var(--color-blue); +} + +.section:nth-child(uneven) { + background-color: #f8f8f8; +} + +.section__title { + margin-bottom: 20px; + font-size: 36px; + +} + +.about-section{ + +} + +/* Breakpoints */ + +/* Small phones, tablets, large smartphones */ +@media (max-width: 768px) { + .nav { + height: 68px; + } + + h1 { + font-size: 28px; + } + .about-me__info--para { + font-size: 18px; + } + .language { + width: calc(100% / 3); + } + .project__description--para p{ + font-size: 14px; + } + + .project__description { + left: 30px; + padding-right: 30px; + } +} + +/* Small phones */ +@media (max-width: 576px) { + h1 { + font-size: 24px; + } + .about-me__info--para { + font-size: 16px; + } + .language { + width: calc(100% / 2); + } + .project__description--para p{ + font-size: 12px; + } + .project__description { + left: 20px; + padding-right: 20px; + } +} \ No newline at end of file diff --git a/styles/global.css b/styles/global.css deleted file mode 100644 index e69de29..0000000