From 49f825123199767fcce6829d3bc9fce5efc757d6 Mon Sep 17 00:00:00 2001 From: Veronica Li Date: Sun, 20 Dec 2020 18:33:36 -0500 Subject: [PATCH 1/5] update header layout & styles --- page.php | 2 ++ style.css | 16 ++++---------- template-parts/header-cover.php | 38 --------------------------------- 3 files changed, 6 insertions(+), 50 deletions(-) diff --git a/page.php b/page.php index c8923d2..73cba83 100644 --- a/page.php +++ b/page.php @@ -21,6 +21,8 @@
+ ', '' ); ?> +
diff --git a/style.css b/style.css index fee067a..8e56e22 100644 --- a/style.css +++ b/style.css @@ -176,12 +176,6 @@ body { background-color: var( --color-secondary-text ); } -.cover-header .cover-header-inner-wrapper { - justify-content: center; - min-height: 400px; - max-height: 100vh; -} - .header-inner { padding: 0 4rem 0 0; width: initial; @@ -191,7 +185,7 @@ body { padding: 0; } -.home .cover-header .cover-header-inner-wrapper { +.cover-header .cover-header-inner-wrapper { min-height: 130px; height: 130px; } @@ -211,12 +205,10 @@ body { border: 0; } -.cover-header-inner { - padding: 15rem 0; -} - -.cover-header .entry-header .entry-title { +.post-inner .entry-title { + text-align: center; font-size: 2em; + padding-bottom: 5rem; } .to-the-content-wrapper { diff --git a/template-parts/header-cover.php b/template-parts/header-cover.php index 0285db9..835eb42 100644 --- a/template-parts/header-cover.php +++ b/template-parts/header-cover.php @@ -74,44 +74,6 @@ ', '' ); - - if ( is_page() ) { - ?> - -
- - - -
-
- -
- - - -
- -
- -
From 1a7dfedc4df41b986849a1a6d0d9dbb6cdaa6c29 Mon Sep 17 00:00:00 2001 From: Joshua Kwan Date: Sun, 20 Dec 2020 20:59:04 -0500 Subject: [PATCH 2/5] Fix get-milestone.sh, maybe? --- .github/get-milestone.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/get-milestone.sh b/.github/get-milestone.sh index 071d8dc..b43886e 100755 --- a/.github/get-milestone.sh +++ b/.github/get-milestone.sh @@ -4,7 +4,9 @@ JSON=`curl --silent "https://api.github.com/repos/${GITHUB_REPOSITORY}/milestone MILESTONE_NUMBER=`echo "$JSON" | grep '"number":' | sed -E 's/.*: ([^,]+).*/\1/'` MILESTONE_NAME=`echo "$JSON" | grep '"title":' | sed -E 's/.*: "([^"]+).*/\1/'` -echo "::set-env name=MILESTONE_NUMBER::${MILESTONE_NUMBER}" -echo "::set-env name=MILESTONE_NAME::${MILESTONE_NAME}" +cat >"${GITHUB_ENV}" < Date: Sun, 20 Dec 2020 21:02:10 -0500 Subject: [PATCH 3/5] typo --- .github/get-milestone.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/get-milestone.sh b/.github/get-milestone.sh index b43886e..cab7715 100755 --- a/.github/get-milestone.sh +++ b/.github/get-milestone.sh @@ -6,7 +6,7 @@ MILESTONE_NAME=`echo "$JSON" | grep '"title":' | sed -E 's/.*: "([^"]+).*/\1/'` cat >"${GITHUB_ENV}" < Date: Sun, 20 Dec 2020 21:02:20 -0500 Subject: [PATCH 4/5] Update lint.yml --- .github/workflows/lint.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index d42dad3..fdaf4df 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -27,7 +27,10 @@ jobs: restore-keys: | ${{ runner.os }}-yarn- - - name: Installs dependencies + - name: Installs system dependencies + run: apt -y install libkrb5-dev + + - name: Installs npm dependencies run: yarn install --frozen-lockfile --non-interactive - name: Validates CSS From b4049b88881c05b049136fac34aef11747f7a5c5 Mon Sep 17 00:00:00 2001 From: Joshua Kwan Date: Sun, 20 Dec 2020 21:04:01 -0500 Subject: [PATCH 5/5] Update lint.yml --- .github/workflows/lint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index fdaf4df..5f9a194 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -28,7 +28,7 @@ jobs: ${{ runner.os }}-yarn- - name: Installs system dependencies - run: apt -y install libkrb5-dev + run: sudo apt-get -y install libkrb5-dev - name: Installs npm dependencies run: yarn install --frozen-lockfile --non-interactive