Skip to content

Commit

Permalink
green. fix header layout on tablet.
Browse files Browse the repository at this point in the history
  • Loading branch information
theruther4d committed Jul 23, 2021
1 parent f20ed6c commit f62521c
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 13 deletions.
8 changes: 5 additions & 3 deletions src/hero/hero.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
@import "../variables.scss";

$horizontal_breakpoint: 800px;

.hero {
h1 {
font-size: 3.5rem;
Expand All @@ -24,7 +26,7 @@
transform: translateY(20px);
z-index: -1;

@media all and (min-width: 724px) {
@media all and (min-width: $horizontal_breakpoint) {
transform: translateY(0px);
}

Expand All @@ -48,7 +50,7 @@
header {
max-width: 30rem;

@media all and (min-width: 724px) {
@media all and (min-width: $horizontal_breakpoint) {
max-width: unset;
}
}
Expand All @@ -59,7 +61,7 @@
}
}

@media all and (min-width: 724px) {
@media all and (min-width: $horizontal_breakpoint) {
display: flex;
justify-content: center;
padding-top: 4rem;
Expand Down
7 changes: 6 additions & 1 deletion src/history/history.scss
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,12 @@ $horizontal_breakpoint: 724px;
right: 0;
bottom: 0;
left: 0;
background: $primary;
background-color: $primary;
background-image: linear-gradient(
to top left,
darken($primary, 8),
$primary
);
border-radius: $card_radius;
top: -1rem;
right: -1rem;
Expand Down
10 changes: 5 additions & 5 deletions src/stats/stats.scss
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@
&:before {
content: "";
background-color: $primary;
// background-image: linear-gradient(
// to top right,
// darken($secondary, 10),
// $secondary
// );
background-image: linear-gradient(
to right,
darken($primary, 8),
$primary
);
border-radius: $card_radius;
position: absolute;
top: -1rem;
Expand Down
7 changes: 3 additions & 4 deletions todo.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
# TODO:

- clean up copy
- css vars + shifting $primary color animation? slowly hue rotate?

## General

- print version => resume
- downloadable pdf for resume
- clean up repetitive styling for sections

## Hero

- add more bio, way to show/hide extended version?

## Contributions

- overflow indicator
Expand Down

1 comment on commit f62521c

@vercel
Copy link

@vercel vercel bot commented on f62521c Jul 23, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.