Skip to content

Commit

Permalink
Styles: Update styles in the following files to fit new UI 'FileTabsN…
Browse files Browse the repository at this point in the history
…avbar' component

- src/styles/UI/LineCount.scss
- src/styles/UI/Navbar.scss
- src/styles/pages/AboutPage.scss
- src/styles/pages/ContactPage.scss
- src/styles/pages/ExpertiseSummaryPage.scss
- src/styles/pages/ProjectsPage.scss
  • Loading branch information
ITurres committed Feb 5, 2024
1 parent 3814c6d commit 882c68d
Show file tree
Hide file tree
Showing 6 changed files with 48 additions and 7 deletions.
4 changes: 3 additions & 1 deletion src/styles/UI/LineCount.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ $light-gray: colors.$light-gray;
.line-count {
display: none;

@media (min-width: 630px) {
@media (min-width: 768px) {
margin-top: 2.6rem;

& {
display: flex;
flex-direction: column;
Expand Down
2 changes: 1 addition & 1 deletion src/styles/UI/Navbar.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@use '../variables/colors' as colors;

$elementsInNavbar: 7;
$elementsInNavbar: 8;

$color2: colors.$color2;
$color1: colors.$color1;
Expand Down
9 changes: 8 additions & 1 deletion src/styles/pages/AboutPage.scss
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,17 @@ $color1: colors.$color1;
}

@media (min-width: 768px) {
@include mixins.component-code-snippet(
'const About = () => {',
$color1,
$color1,
4
);

flex-direction: row;
justify-content: space-between;
align-items: center;
height: 100vh;
height: 90vh;

&__about {
width: 60%;
Expand Down
12 changes: 9 additions & 3 deletions src/styles/pages/ContactPage.scss
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,15 @@ body:has(.drone) {
-2
);

@media (min-width: 768px) {
@media screen and (min-width: 768px) {
width: 90%;

@include mixins.component-code-snippet('const Contact = () => {');
min-height: 95vh;

@include mixins.component-code-snippet(
'const Contact = () => {',
colors.$color1,
colors.$color1,
4
);
}
}
17 changes: 16 additions & 1 deletion src/styles/pages/ExpertiseSummaryPage.scss
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,23 @@ $font-family-regular: fonts.$font-family-regular;
}
}

@media screen and (min-width: 768px) {
@include mixins.component-code-snippet(
'const Expertise = () => {',
$dark,
$color1,
4,
// * top
1,
// * bottom
0 // * bottom-desktop
);

padding-top: 3rem;
}

@media (min-width: 1366px) {
flex-direction: row;
// flex-direction: row;
padding-left: 6rem;

&__card {
Expand Down
11 changes: 11 additions & 0 deletions src/styles/pages/ProjectsPage.scss
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,17 @@ $font-family-regular: fonts.$font-family-regular;
colors.$color1
);

@media screen and (min-width: 768px) {
padding-top: 3rem;

@include mixins.component-code-snippet(
'const Projects = () => {',
colors.$color1,
colors.$color1,
4
);
}

min-height: 100vh;

// ! START of Splide Styles overrides.
Expand Down

0 comments on commit 882c68d

Please sign in to comment.