Skip to content

Commit

Permalink
Start rebrand
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick Steadman <[email protected]>
  • Loading branch information
ptsteadman committed Jan 16, 2024
1 parent b9d0021 commit 77330ed
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 18 deletions.
1 change: 1 addition & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ pagination_dir: page
## Plugins: http://hexo.io/plugins/
## Themes: http://hexo.io/themes/
theme: computer-lab
brand_color: rgba(55, 50, 60, 1)

# SASS
node_sass:
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"version": "5.4.2"
},
"scripts": {
"dev": "hexo server",
"develop": "hexo server",
"start": "hexo server",
"generate": "hexo generate",
Expand All @@ -25,4 +26,4 @@
"hexo-server": "^2.0.0",
"hexo-renderer-sass": "github:kmuncie/hexo-renderer-sass"
}
}
}
6 changes: 0 additions & 6 deletions themes/computer-lab/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,3 @@ twitter_widget_id: "678830341331820544" # as a string, from https://twitter.com/
twitter_username: computerlab_ # twitter username without the @
default_author: Anonymous







2 changes: 1 addition & 1 deletion themes/computer-lab/layout/_partial/site/footer.pug
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ footer.footer
| Suite #2
br
| New York, NY 10013
span &copy; 2016-2023 Computer Lab
span &copy; 2016-2024 Computer Lab
.col-sm-3
.col-sm-3
h4 Connect
Expand Down
4 changes: 2 additions & 2 deletions themes/computer-lab/layout/_partial/site/header.pug
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ nav.navbar.navbar-custom.navbar-fixed-top(role='navigation')
svg.logo(id='logo-svg' version='1.0', xmlns='http://www.w3.org/2000/svg', width='85px', height='85px' viewbox='0 0 54.5 54.5')
defs
style.
.cls-1{fill:#fff;}.cls-2{fill:#652ded;}
title Asset 4
.cls-1{fill:#fff;}.cls-2{fill: #{config.brand_color};}
title Computer Lab Logo
g#Layer_2(data-name='Layer 2')
g#Layer_1-2(data-name='Layer 1')
path.cls-1(d='M20.63,24.94v1.61a24.74,24.74,0,0,1-3-1.4,18.11,18.11,0,0,1-2.94-2V21.75c.58.41,1.23.83,1.94,1.24A26.41,26.41,0,0,0,20.63,24.94Z', transform='translate(-0.25 -0.25)')
Expand Down
4 changes: 3 additions & 1 deletion themes/computer-lab/layout/_partial/svg/giphy-logo.pug
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
svg#Layer_1(xmlns='http://www.w3.org/2000/svg', xmlns:xlink='http://www.w3.org/1999/xlink', version='1.1', x='0px', y='0px', width='431px', height='151px', viewbox='-66 -142.5 431 151', enable-background='new -66 -142.5 431 151', xml:space='preserve', fill='#652ded')
svg#Layer_1(xmlns='http://www.w3.org/2000/svg', xmlns:xlink='http://www.w3.org/1999/xlink',
version='1.1', x='0px', y='0px', width='431px', height='151px', viewbox='-66 -142.5 431 151',
enable-background='new -66 -142.5 431 151', xml:space='preserve', fill=config.brand_color)
g
g
rect(x='121.593', y='-98.531', width='19.915', height='68.557')
Expand Down
2 changes: 1 addition & 1 deletion themes/computer-lab/source/css/base/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ $alt-white: #FAFAFA;
$white: #FFF;
$grey: #B1B1B1;

$brand: #625ded;
$brand: rgba(55,50,60,1);
$secondary: #B1B1B1; //#00cb98;
$accent: #CCC0B4;

Expand Down
12 changes: 6 additions & 6 deletions themes/computer-lab/source/css/pages/_home.scss
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#home {
margin-top: - $menu-height; // center in viewport, regardless of menu height
height: 115vh;
background: -moz-linear-gradient(270deg, rgba(101,45,237,1) 12%, rgba(250, 250, 250,1) 100%); /* ff3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(12%, rgba(101,45,237,1)), color-stop(100%, rgba(250, 250, 250,1))); /* safari4+,chrome */
background: -webkit-linear-gradient(270deg, rgba(101,45,237,1) 12%, rgba(250, 250, 250,1) 100%); /* safari5.1+,chrome10+ */
background: -o-linear-gradient(270deg, rgba(101,45,237,1) 12%, rgba(250, 250, 250,1) 100%); /* opera 11.10+ */
background: -ms-linear-gradient(270deg, rgba(101,45,237,1) 12%, rgba(250, 250, 250,1) 100%); /* ie10+ */
background: linear-gradient(180deg, rgba(101,45,237,1) 12%, rgba(250, 250, 250,1) 100%); /* w3c */
background: -moz-linear-gradient(270deg, $brand 12%, rgba(250, 250, 250,1) 100%); /* ff3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(12%, $brand), color-stop(100%, rgba(250, 250, 250,1))); /* safari4+,chrome */
background: -webkit-linear-gradient(270deg, $brand 12%, rgba(250, 250, 250,1) 100%); /* safari5.1+,chrome10+ */
background: -o-linear-gradient(270deg, $brand 12%, rgba(250, 250, 250,1) 100%); /* opera 11.10+ */
background: -ms-linear-gradient(270deg, $brand 12%, rgba(250, 250, 250,1) 100%); /* ie10+ */
background: linear-gradient(180deg, $brand 12%, rgba(250, 250, 250,1) 100%); /* w3c */

.hero {
height: 250px;
Expand Down

0 comments on commit 77330ed

Please sign in to comment.