Skip to content

Commit b660a0e

Browse files
committed
Update version and dependencies, strip out susy.
1 parent 3466473 commit b660a0e

File tree

6 files changed

+118
-222
lines changed

6 files changed

+118
-222
lines changed

asset/css/style.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

asset/sass/_screen.scss

+22-20
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ p {
5353
#wrap {
5454
max-width: 1100px;
5555
margin: auto;
56-
padding: 0 gutter();
56+
padding: 0 $spacing-l;
5757
position: relative;
5858
}
5959

@@ -178,8 +178,8 @@ textarea {
178178
}
179179

180180
.field .field-meta {
181-
width: span(4 of 16);
182-
padding-right: gutter();
181+
width: 25%;
182+
padding-right: $spacing-l;
183183
text-align: right;
184184
line-height: 1.5 * $base-line-height;
185185
}
@@ -197,8 +197,8 @@ textarea {
197197
}
198198

199199
.field .inputs {
200-
width: span(12 of 16);
201-
padding-left: gutter();
200+
width: 75%;
201+
padding-left: $spacing-l;
202202
}
203203

204204
.field .collapsible {
@@ -210,7 +210,7 @@ textarea {
210210

211211
.field .inputs ~ *,
212212
form input[type="submit"] {
213-
margin-left: calc(#{span(4 of 16)} + #{gutter()});
213+
margin-left: calc(25% + #{$spacing-l});
214214
margin-top: $spacing-m;
215215
}
216216

@@ -380,7 +380,9 @@ header a {
380380
display: flex;
381381
align-items: center;
382382
overflow: hidden;
383-
@include container;
383+
max-width: 100%;
384+
margin-left: auto;
385+
margin-right: auto;
384386
}
385387

386388
.banner img {
@@ -390,7 +392,7 @@ header a {
390392
#search-container {
391393
position: absolute;
392394
top: -(2 * $spacing-l);
393-
right: gutter();
395+
right: $spacing-l;
394396
}
395397

396398
#search-container input[type="text"],
@@ -819,7 +821,7 @@ footer {
819821
clear: both;
820822

821823
.resource {
822-
padding: $spacing-l gutter();
824+
padding: $spacing-l;
823825
width: 25%;
824826
font-size: .875 * $base-font-size;
825827
}
@@ -829,7 +831,7 @@ footer {
829831
border-top: 1px solid $gray;
830832

831833
.thumbnail {
832-
margin-left: gutter(8);
834+
margin-left: $spacing-l;
833835
order: 2;
834836
}
835837

@@ -956,10 +958,10 @@ footer {
956958

957959
.property h4,
958960
#linked-resources h4 {
959-
width: span(3 of 16);
961+
width: 18.75%;
960962
margin: 0;
961963
text-align: right;
962-
padding: 0 gutter();
964+
padding: 0 $spacing-l;
963965
font-size: 1.25 * $base-font-size;
964966
}
965967

@@ -970,8 +972,8 @@ footer {
970972

971973
.property .values,
972974
.property h4 + .value {
973-
width: span(13 of 16);
974-
padding: 0 gutter();
975+
width: 81.25%;
976+
padding: 0 $spacing-l;
975977
}
976978

977979
.property .values .value:not(:last-child) {
@@ -1049,7 +1051,7 @@ footer {
10491051
}
10501052

10511053
#linked-resources > h4 {
1052-
padding: $spacing-s gutter();
1054+
padding: $spacing-s $spacing-l;
10531055
}
10541056

10551057
#item-linked .pagination {
@@ -1067,8 +1069,8 @@ footer {
10671069
#linked-resources .linked-resource {
10681070
border-bottom: 1px solid $gray;
10691071
margin-bottom: $spacing-m;
1070-
width: span(13 of 16);
1071-
padding: 0 gutter() #{$spacing-m - 1px};
1072+
width: 81.25%;
1073+
padding: 0 $spacing-l #{$spacing-m - 1px};
10721074
}
10731075

10741076
#linked-resources .resource-link {
@@ -1103,7 +1105,7 @@ footer {
11031105
bottom: $spacing-l;
11041106
left: 0;
11051107
right: 0;
1106-
padding: $spacing-m gutter() (.75 * $spacing-l);
1108+
padding: $spacing-m $spacing-l (.75 * $spacing-l);
11071109
background-color: rgba(0,0,0,.8);
11081110
color: #fff;
11091111
}
@@ -1199,15 +1201,15 @@ footer {
11991201

12001202
.page #content .sub-menu {
12011203
padding: 0 $spacing-l $spacing-l 0;
1202-
width: span(3 of 16);
1204+
width: 18.75%;
12031205
float: left;
12041206
position: sticky;
12051207
top: $spacing-l;
12061208
left: 0;
12071209
}
12081210

12091211
.page #content .sub-menu ~ *:not(.site-page-pagination) {
1210-
width: span(13 of 16);
1212+
width: 81.25%;
12111213
float: right;
12121214
clear: none;
12131215
}

asset/sass/style.scss

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
@import "normalize";
22
@import "base";
3-
@import "susy";
43

54
@media screen {
65
@import "screen";

config/theme.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[info]
22
name = "Center Row"
3-
version = "1.7.1"
3+
version = "1.7.2"
44
author = "Omeka Team"
55
;description = ""
66
theme_link = "https://github.com/omeka-s-themes/centerrow.git"

0 commit comments

Comments
 (0)