Skip to content

Commit fe2030b

Browse files
committed
Revert "Fix deprecation warnings" (for now)
This reverts commit dbdcfc8.
1 parent 2d4be96 commit fe2030b

File tree

5 files changed

+40
-40
lines changed

5 files changed

+40
-40
lines changed

_sass/_index.scss

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,8 @@
1-
@use 'variables';
2-
3-
@import url("https://assets.webis.de/css/style.css");
4-
51
.page-index {
6-
background: variables.$global-secondary-background-lighter url("../img/pan-logo-index-page.png") no-repeat top right;
2+
background: $global-secondary-background-lighter url("../img/pan-logo-index-page.png") no-repeat top right;
73

84
.footer-section, .footer-section a {
9-
color: variables.$inverse-global-color !important;
5+
color: $inverse-global-color !important;
106
background: none;
117
}
128
}

_sass/_tasks.scss

Lines changed: 13 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,20 @@
1-
@use 'sass:color';
2-
@use 'variables';
3-
41
.page-header-meta {
5-
color: variables.$global-muted-color;
2+
color: $global-muted-color;
63
font-size: 1.1rem;
74
}
85

96
.task-chair-organizations {
107
text-align: center;
118

12-
@media (min-width: variables.$breakpoint-large) {
9+
@media (min-width: $breakpoint-large) {
1310
margin-left: auto;
1411
margin-right: auto;
1512
}
1613

1714
& > * {
1815
height: 60px;
1916
display: inline-block;
20-
padding: variables.$padding-large-padding;
17+
padding: $padding-large-padding;
2118
}
2219

2320
img, svg {
@@ -26,10 +23,10 @@
2623

2724
.logo-font {
2825
display: inline-block;
29-
padding-left: variables.$padding-small-padding;
26+
padding-left: $padding-small-padding;
3027
font-size: 2.5em;
3128
vertical-align: middle;
32-
color: color.adjust(variables.$global-color, $lightness: 20%);
29+
color: lighten($global-color, 20);
3330
}
3431
}
3532

@@ -41,15 +38,15 @@
4138

4239

4340
.keynote {
44-
margin-bottom: variables.$global-medium-gutter;
41+
margin-bottom: $global-medium-gutter;
4542

4643
.keynote-speaker-image, .keynote-meta {
4744
display: table-cell;
4845
vertical-align: middle;
4946
}
5047

5148
.keynote-speaker-image {
52-
padding-right: 1.5 * variables.$global-small-padding;
49+
padding-right: 1.5 * $global-small-padding;
5350

5451
img {
5552
height: 100px;
@@ -61,16 +58,16 @@
6158
}
6259

6360
.keynote-title {
64-
font-size: variables.$text-lead-font-size;
61+
font-size: $text-lead-font-size;
6562
font-weight: bold;
6663
text-align: left;
6764
margin-bottom: 5px;
6865
}
6966

7067
.keynote-speaker {
7168
text-align: left;
72-
color: variables.$global-muted-color;
73-
font-size: variables.$text-small-font-size;
69+
color: $global-muted-color;
70+
font-size: $text-small-font-size;
7471
display: inline;
7572
}
7673

@@ -80,16 +77,16 @@
8077
padding: 0 5px;
8178
}
8279

83-
color: variables.$global-muted-color;
80+
color: $global-muted-color;
8481
display: inline;
8582
}
8683

8784
.keynote-body {
88-
margin-top: variables.$global-small-padding;
85+
margin-top: $global-small-padding;
8986
}
9087

9188
footer {
92-
color: variables.$global-muted-color;
89+
color: $global-muted-color;
9390
font-style: italic;
9491

9592
.keynote-bio {

_sass/_thumbnail_cards.scss

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
@use 'variables';
2-
31
.thumbnail-card-grid {
42
& > * {
53
width: 100%;
@@ -8,28 +6,28 @@
86
-webkit-hyphens: none;
97

108

11-
@media (min-width: variables.$breakpoint-small) {
9+
@media (min-width: $breakpoint-small) {
1210
width: 50%;
1311
}
14-
@media (min-width: variables.$breakpoint-medium) {
12+
@media (min-width: $breakpoint-medium) {
1513
width: 30%;
1614
}
17-
@media (min-width: variables.$breakpoint-large) {
15+
@media (min-width: $breakpoint-large) {
1816
width: 25%;
1917
}
2018
}
2119

2220
.uk-card {
23-
padding: variables.$padding-small-padding;
21+
padding: $padding-small-padding;
2422
max-width: 400px;
2523
//min-width: 300px;
2624
}
2725

2826
.thumbnail-left {
29-
margin: -(variables.$padding-small-padding);
30-
margin-right: variables.$padding-small-padding;
27+
margin: -$padding-small-padding;
28+
margin-right: $padding-small-padding;
3129
float: left;
32-
height: calc(100% + #{2 * variables.$padding-small-padding});
30+
height: calc(100% + #{2 * $padding-small-padding});
3331

3432
img, svg {
3533
height: 100%;
@@ -41,7 +39,7 @@
4139

4240
.thumbnail-top {
4341
text-align: center;
44-
margin-bottom: variables.$padding-small-padding;
42+
margin-bottom: $padding-small-padding;
4543
height: 140px;
4644
display: flex;
4745
flex-direction: column;
@@ -66,7 +64,7 @@
6664
.thumbnail-card-logo {
6765
width: 100px;
6866
max-height: 100px;
69-
margin-bottom: variables.$padding-small-padding;
70-
margin-right: variables.$padding-small-padding;
67+
margin-bottom: $padding-small-padding;
68+
margin-right: $padding-small-padding;
7169
}
7270
}

_sass/_variables.scss

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
1-
// Theme variables
1+
// Webis theme variable overrides
2+
3+
$navbar-breakpoint: 850px;
4+
$task-card-target-color: #d9e7f7;
5+
$table-entry-target-color: #d9e7f7;
26

3-
@use 'sass:color';
47

58
// other assets-variables used in dependent scss
69
$global-secondary-background: #323232;
7-
$global-secondary-background-lighter: color.adjust($global-secondary-background, $lightness: 6%);
10+
$global-secondary-background-lighter: lighten($global-secondary-background, 6);
811

912
$global-large-font-size: 1.5rem !default;
1013
$text-lead-font-size: $global-large-font-size !default;
@@ -17,6 +20,7 @@ $global-inverse-color: #fff !default;
1720
$inverse-global-color: rgba($global-inverse-color, 0.7) !default;
1821
$global-color: #222;
1922
$global-muted-color: #666;
23+
$text-muted-color: $global-muted-color !default;
2024

2125
$breakpoint-small: 640px !default;
2226
$breakpoint-medium: 960px !default;

css/style.scss

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
# Front matter to ensure Jekyll is processing the file.
33
---
44

5-
@use "../_sass/index";
6-
@use "../_sass/tasks";
7-
@use "../_sass/thumbnail_cards";
5+
// Theme variable overrides
6+
@import url("https://assets.webis.de/css/style.css?{{site.time | date: '%s'}}");
7+
@import "../_sass/variables";
8+
9+
// Styles
10+
@import "../_sass/index";
11+
@import "../_sass/tasks";
12+
@import "../_sass/thumbnail_cards";

0 commit comments

Comments
 (0)