Browse Source

test

master
rdrew 3 weeks ago
parent
commit
8edf4026e6
  1. 18
      bs.js
  2. 63
      css/base.css
  3. 10
      css/header.css
  4. 8
      deploy.sh
  5. 40
      logo.svg
  6. 3
      logo.svg.old

18
bs.js

@ -2,15 +2,15 @@ var browserSync = require("browser-sync");
browserSync({
//proxy: 'http://137.149.200.93',
proxy: "https://ill.libraryupei.ca",
proxy: "https://drupal-theme-dev.ddev.site",
// files: "css/**/*.css",
files: ["css/**/*.css", "js/**/*.js"],
plugins: ["bs-rewrite-rules"],
serveStatic: ["."],
rewriteRules: [
{
match: /\/themes\/custom\/olivesnews/g,
replace: "",
},
],
// plugins: ["bs-rewrite-rules"],
// serveStatic: ["."],
// rewriteRules: [
// {
// match: /\/themes\/custom\/olivesnews/g,
// replace: "",
// },
// ],
});

63
css/base.css

@ -1,11 +1,11 @@
/* Variables
---------------------------------------- */
:root {
--primary: #365AB5;
--secondary: #D05700;
--primary: #8c2004;
--secondary: #d05700;
--dark: #232742;
--light: #D5DCEE;
--border: #99A4C1;
--light: #d5dcee;
--border: #99a4c1;
--color-text: #444444;
--color-heading: #111111;
@ -48,7 +48,8 @@ body {
}
body {
color: var(--color-text);
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
font-size: 1rem;
font-weight: 400;
min-height: 100vh;
@ -60,6 +61,7 @@ body {
-webkit-font-smoothing: subpixel-antialiased;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
background: #e0e0e0;
}
/* Regions
---------------------------------------- */
@ -207,7 +209,8 @@ var {
mark {
background: var(--primary);
}
acronym[title], abbr[title] {
acronym[title],
abbr[title] {
border-bottom: none;
text-decoration: underline;
-webkit-text-decoration: underline dotted;
@ -225,7 +228,7 @@ canvas,
progress,
video {
vertical-align: baseline;
max-width:100%;
max-width: 100%;
}
audio:not([controls]) {
display: none;
@ -294,7 +297,7 @@ select {
text-transform: none;
}
.button {
display:inline-block;
display: inline-block;
}
.button,
button,
@ -487,38 +490,38 @@ blockquote > :last-child {
/* List
---------------------------------------- */
ul,
ol {
ul,
ol {
margin: 0;
padding: 0 0 0.25rem 1rem;
}
[dir="rtl"] ul,
[dir="rtl"] ol {
}
[dir="rtl"] ul,
[dir="rtl"] ol {
padding: 0 1rem 0.25rem 0;
}
ol ol,
ul ul {
}
ol ol,
ul ul {
margin: 0;
padding: 0 0 0.25rem 1rem;
}
[dir="rtl"] ol ol,
[dir="rtl"] ul ul {
}
[dir="rtl"] ol ol,
[dir="rtl"] ul ul {
padding: 0 1rem 0.25rem 0;
}
ul {
}
ul {
list-style: disc;
}
li > ul,
li > ol {
}
li > ul,
li > ol {
margin-bottom: 0;
}
[dir="rtl"] ul,
[dir="rtl"] ol {
}
[dir="rtl"] ul,
[dir="rtl"] ol {
padding: 0 1rem 0.25rem 0;
}
li {
}
li {
padding: 4px 0;
}
}
/* Table
---------------------------------------- */

10
css/header.css

@ -8,6 +8,12 @@
width: 100%;
margin: 0;
padding: 0.5rem 0;
background-color: #333;
.menu-wrap .menu,
.menu-wrap .menu a,
a {
color: #fff;
}
}
.header-top-container {
position: relative;
@ -83,6 +89,10 @@
padding-right: 5px;
}
.site-logo img {
width: 142px;
border-right: 2px solid #fff;
padding-right: 0.5em;
margin-right: 0.5em;
display: block;
}
.site-name-slogan {

8
deploy.sh

@ -12,10 +12,10 @@
# --------------------------------------------------------
# --- CONFIGURATION (Edit these for new environments) ---
SERVER="newspapers2.islandarchives.ca"
THEME_DIR="/var/www/islandnewspapers2/web/themes/custom/olivesnews"
SITE_ROOT="/var/www/islandnewspapers2/web/sites/islandnewspapers2"
DRUSH_PATH="/var/www/islandnewspapers2/vendor/drush/drush/drush"
SERVER="137.149.52.34"
THEME_DIR="/var/www/html/ill_site/web/themes/custom/roblib_ill_theme"
SITE_ROOT="/var/www/html/ill_site"
DRUSH_PATH="/var/www/html/ill_site/vendor/drush/drush/drush"
# --------------------------------------------------------
# 1. Check if a commit message was provided

40
logo.svg

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 326 B

After

Width:  |  Height:  |  Size: 51 KiB

3
logo.svg.old

@ -0,0 +1,3 @@
<svg width="47" height="42" viewBox="0 0 47 42" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M18.6562 0.515625L46.2734 42H28.3438L0.6875 0.515625H18.6562ZM25.4141 6.25781L28.3438 0.515625H46.2734L34.3203 19.6562L25.4141 6.25781ZM18.6562 42H0.6875L12.2109 22.2344L21.4688 36.1797L18.6562 42Z" fill="black"/>
</svg>

After

Width:  |  Height:  |  Size: 326 B

Loading…
Cancel
Save