Skip to content

Commit

Permalink
Merge pull request #189 from mediasanctuary/oct-upgrades
Browse files Browse the repository at this point in the history
Oct upgrades
  • Loading branch information
dphiffer authored Nov 8, 2024
2 parents a1490b2 + 43507a5 commit 8fa8b4f
Show file tree
Hide file tree
Showing 8 changed files with 873 additions and 490 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,6 @@ jobs:
--human-readable \
--filter='P uploads' \
--exclude wp-content/uploads \
--exclude deploy_key \
./wp-content/ ${{env.dest}}
rm deploy_key
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v20
8 changes: 7 additions & 1 deletion bin/start
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

set -o errexit
set -o pipefail
Expand All @@ -7,6 +7,12 @@ set -o nounset
dir="$( cd "$(dirname "$( dirname "${BASH_SOURCE[0]}" )" )" >/dev/null 2>&1 && pwd )"
mkdir -p "$dir/wp-content/uploads"

# use nvm if it's installed
if [ -f ~/.nvm/nvm.sh ] ; then
source ~/.nvm/nvm.sh
nvm use
fi

stop_containers() {
echo "Shutting off containers..."
echo
Expand Down
3 changes: 1 addition & 2 deletions docker-compose.yml → compose.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: "3.5"
services:
web:
build:
Expand All @@ -22,7 +21,7 @@ services:
db:
image: mariadb:10.5.8
ports:
- 3307:3306
- 3306:3306
restart: always
environment:
MYSQL_DATABASE: wordpress
Expand Down
6 changes: 4 additions & 2 deletions wp-content/themes/mediasanctuary/contribute/contribute.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@use 'sass:color';

$ff-system: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";

body.contribute {
Expand Down Expand Up @@ -44,7 +46,7 @@ body.contribute {
transition: color 0.2s linear;

&:hover {
color: lighten(#BC3A2E, 20%);
color: color.scale(#BC3A2E, $lightness: 20%);
}
}

Expand Down Expand Up @@ -156,7 +158,7 @@ body.contribute {
.feedback--error {
color: #BC3A2E;
border: 1px solid #BC3A2E;
background: lighten(#BC3A2E, 90%);
background: color.scale(#BC3A2E, $lightness: 90%);
}
}

Expand Down
52 changes: 25 additions & 27 deletions wp-content/themes/mediasanctuary/css/partials/_header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
padding-bottom: 30px;

.container {
min-height: 85px;
min-height: 85px;
}

&:before {
Expand Down Expand Up @@ -73,9 +73,9 @@
font-family: $f-system;
font-size: $s-xxs;
border: none;
-webkit-appearance: none;
appearance: none;
border-radius: 0;
-webkit-appearance: none;
appearance: none;
border-radius: 0;

&:focus {
border: none;
Expand All @@ -95,18 +95,19 @@
text-indent: -99999em;
}


position:relative;
& {
position: relative;
}

&:before {
display: block;
content:'';
background-color: rgba(0, 66, 78, 0.1);
position: absolute;
top:0;
left: 0;
right: 0;
bottom:0;
display: block;
content:'';
background-color: rgba(0, 66, 78, 0.1);
position: absolute;
top:0;
left: 0;
right: 0;
bottom:0;
}


Expand Down Expand Up @@ -153,20 +154,17 @@
}
}

@media only screen and (max-width: 600px) {
padding-bottom:10px;
}
@media only screen and (max-width: 600px) {
padding-bottom:10px;
}

.initiative-logo {
display: block;
margin: 0px auto;
padding: 100px 0 20px;
@media only screen and (max-width: 860px) {
padding: 20px 0;
}
display: block;
margin: 0px auto;
padding: 100px 0 20px;

@media only screen and (max-width: 860px) {
padding: 20px 0;
}
}




}
Loading

0 comments on commit 8fa8b4f

Please sign in to comment.