Skip to content

Commit 3155b4c

Browse files
committed
Style fixes.
1 parent e88d8e6 commit 3155b4c

File tree

17 files changed

+57
-21
lines changed

17 files changed

+57
-21
lines changed

Makefile

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
2+
13
THEME_PATH := $(CURDIR)
24
DEV_GHOST_PATH := '/Users/toddbirchard/projects/ghostlocal'
35
DEV_GHOST_THEME_PATH := '/Users/toddbirchard/projects/ghostlocal/content/themes/hackersandslackers-ghost'
@@ -21,7 +23,7 @@ all help:
2123
@echo "$$HELP"
2224

2325
.PHONY: build
24-
build: clean
26+
build:
2527
gulp
2628

2729
.PHONY: dev
@@ -44,11 +46,13 @@ clean:
4446
.PHONY: update
4547
update:
4648
npm install npm@latest -g
49+
curl --compressed -o- -L https://yarnpkg.com/install.sh | bash
50+
bower install
4751
npm install -g npm-check-updates@latest
48-
ncu -u --dep=prod
52+
ncu -u
4953
yarn install
5054

5155
.PHONY: reset
5256
reset: clean
5357
make update
54-
make build
58+
make build

assets/css/style-min-rtl.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/css/style-min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/js/app.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/sass/components/_content.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@
5757

5858
h1, h2, h3, h4, h5, h6 {
5959
margin-top: $space-48;
60+
font-family: $body-font;
6061

6162
&:first-child {
6263
margin-top: 0;
@@ -114,8 +115,10 @@
114115
}
115116

116117
dd, ol, ul {
118+
font-size: 1em;
117119
padding-left: $space-8;
118120
padding-right: $space-16;
121+
margin: 0 0 25px;
119122

120123
> * + * {
121124
margin-top: $space-8;

assets/sass/components/_footer.scss

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,15 @@
22
Components > Footer
33
\*------------------------------------*/
44
.footer {
5+
width: 100%;
56
justify-content: space-around;
67
padding: $space-40 0;
78
border-top: 0.5px solid var(--color-border);
8-
background-color: var(--bg-white);
9-
max-width: 1000px;
9+
background-color: white;
1010
margin: $space-40 auto 0;
11+
@media (max-width: 800px) {
12+
padding: $space-40;
13+
}
1114

1215
.o-grid {
1316
justify-content: space-between;
@@ -16,9 +19,16 @@
1619

1720
.footer-section {
1821
max-width: 27%;
22+
@media (max-width: 800px) {
23+
max-width: unset;
24+
margin-bottom: 40px;
25+
}
1926

2027
&.info-section {
2128
max-width: 23%;
29+
@media (max-width: 800px) {
30+
max-width: unset;
31+
}
2232
}
2333

2434
&.newsletter {

assets/sass/components/_header.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
.header {
66
position: relative;
77
padding: 20px 0;
8-
background-color: var(--bg-white);
8+
background-color: white;
99
border-bottom: .5px solid var(--color-border);
1010

11-
@include mq($from: mobile) {
11+
@media (max-width: 600px) {
1212
padding: 15px 0;
1313
}
1414

assets/sass/components/_tags-list.scss

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,11 @@
44

55
.tags-list-container {
66
margin-bottom: $space-32;
7-
background-color: var(--bg-white);
7+
background-color: white;
88
box-shadow: $global-shadow;
9+
@media (max-width: 800px) {
10+
margin-bottom: unset;
11+
}
912
}
1013

1114
.tags-list-wrap {

assets/sass/components/postcard/_postcard.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@
2929
height: 372px;
3030
-o-object-fit: cover;
3131
object-fit: cover;
32+
@media (max-width: 800px) {
33+
width: unset;
34+
height: auto;
35+
}
3236

3337
&:hover {
3438
opacity: .7;

assets/sass/pages/_index.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
@media(max-width: $tablet) {
1111
grid-template-columns: 1fr !important;
1212
max-width: 90%;
13+
display: unset;
1314
}
1415

1516
.o-wrapper {

0 commit comments

Comments
 (0)