Skip to content

Commit

Permalink
Update version and dependencies, strip out susy.
Browse files Browse the repository at this point in the history
  • Loading branch information
kimisgold committed Dec 14, 2021
1 parent 3466473 commit b660a0e
Show file tree
Hide file tree
Showing 6 changed files with 118 additions and 222 deletions.
2 changes: 1 addition & 1 deletion asset/css/style.css

Large diffs are not rendered by default.

42 changes: 22 additions & 20 deletions asset/sass/_screen.scss
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ p {
#wrap {
max-width: 1100px;
margin: auto;
padding: 0 gutter();
padding: 0 $spacing-l;
position: relative;
}

Expand Down Expand Up @@ -178,8 +178,8 @@ textarea {
}

.field .field-meta {
width: span(4 of 16);
padding-right: gutter();
width: 25%;
padding-right: $spacing-l;
text-align: right;
line-height: 1.5 * $base-line-height;
}
Expand All @@ -197,8 +197,8 @@ textarea {
}

.field .inputs {
width: span(12 of 16);
padding-left: gutter();
width: 75%;
padding-left: $spacing-l;
}

.field .collapsible {
Expand All @@ -210,7 +210,7 @@ textarea {

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

Expand Down Expand Up @@ -380,7 +380,9 @@ header a {
display: flex;
align-items: center;
overflow: hidden;
@include container;
max-width: 100%;
margin-left: auto;
margin-right: auto;
}

.banner img {
Expand All @@ -390,7 +392,7 @@ header a {
#search-container {
position: absolute;
top: -(2 * $spacing-l);
right: gutter();
right: $spacing-l;
}

#search-container input[type="text"],
Expand Down Expand Up @@ -819,7 +821,7 @@ footer {
clear: both;

.resource {
padding: $spacing-l gutter();
padding: $spacing-l;
width: 25%;
font-size: .875 * $base-font-size;
}
Expand All @@ -829,7 +831,7 @@ footer {
border-top: 1px solid $gray;

.thumbnail {
margin-left: gutter(8);
margin-left: $spacing-l;
order: 2;
}

Expand Down Expand Up @@ -956,10 +958,10 @@ footer {

.property h4,
#linked-resources h4 {
width: span(3 of 16);
width: 18.75%;
margin: 0;
text-align: right;
padding: 0 gutter();
padding: 0 $spacing-l;
font-size: 1.25 * $base-font-size;
}

Expand All @@ -970,8 +972,8 @@ footer {

.property .values,
.property h4 + .value {
width: span(13 of 16);
padding: 0 gutter();
width: 81.25%;
padding: 0 $spacing-l;
}

.property .values .value:not(:last-child) {
Expand Down Expand Up @@ -1049,7 +1051,7 @@ footer {
}

#linked-resources > h4 {
padding: $spacing-s gutter();
padding: $spacing-s $spacing-l;
}

#item-linked .pagination {
Expand All @@ -1067,8 +1069,8 @@ footer {
#linked-resources .linked-resource {
border-bottom: 1px solid $gray;
margin-bottom: $spacing-m;
width: span(13 of 16);
padding: 0 gutter() #{$spacing-m - 1px};
width: 81.25%;
padding: 0 $spacing-l #{$spacing-m - 1px};
}

#linked-resources .resource-link {
Expand Down Expand Up @@ -1103,7 +1105,7 @@ footer {
bottom: $spacing-l;
left: 0;
right: 0;
padding: $spacing-m gutter() (.75 * $spacing-l);
padding: $spacing-m $spacing-l (.75 * $spacing-l);
background-color: rgba(0,0,0,.8);
color: #fff;
}
Expand Down Expand Up @@ -1199,15 +1201,15 @@ footer {

.page #content .sub-menu {
padding: 0 $spacing-l $spacing-l 0;
width: span(3 of 16);
width: 18.75%;
float: left;
position: sticky;
top: $spacing-l;
left: 0;
}

.page #content .sub-menu ~ *:not(.site-page-pagination) {
width: span(13 of 16);
width: 81.25%;
float: right;
clear: none;
}
Expand Down
1 change: 0 additions & 1 deletion asset/sass/style.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
@import "normalize";
@import "base";
@import "susy";

@media screen {
@import "screen";
Expand Down
2 changes: 1 addition & 1 deletion config/theme.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[info]
name = "Center Row"
version = "1.7.1"
version = "1.7.2"
author = "Omeka Team"
;description = ""
theme_link = "https://github.com/omeka-s-themes/centerrow.git"
Expand Down
Loading

0 comments on commit b660a0e

Please sign in to comment.