Skip to content

Commit a11af9d

Browse files
authored
Merge pull request #31 from RRZE-Webteam/dev
v1.0.8
2 parents 1038f08 + 3b48510 commit a11af9d

15 files changed

+124
-50
lines changed

assets/css/fau-studium-display.css

Lines changed: 43 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/css/fau-studium-display.css.map

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

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "fau/fau-studium-display",
33
"description": "RRZE WordPress Plugin",
4-
"version": "1.0.7",
4+
"version": "1.0.8",
55
"type": "wordpress-plugin",
66
"license": "GPL",
77
"require": {

config/config.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -753,8 +753,8 @@ function get_labels ($lang = 'de', $task = 'labels') {
753753
],
754754
'benefits' => [
755755
'labels' => [
756-
'de' => 'Deine Vorteile an der FAU',
757-
'en' => 'Your Benefits at FAU'
756+
'de' => 'Vorteile des Studiums an der FAU',
757+
'en' => 'Benefits of studying at FAU'
758758
]
759759
],
760760
'how_to_apply' => [
@@ -872,8 +872,8 @@ function get_constants($lang = 'de') {
872872
'en' => plugin()->getUrl() . 'assets/img/student-advice-specific.jpg'
873873
],
874874
'benefits-fau-title' => [
875-
'de' => 'Deine Vorteile an der FAU',
876-
'en' => 'Your Benefits at FAU'
875+
'de' => 'Vorteile des Studiums an der FAU',
876+
'en' => 'Benefits of studying at FAU'
877877
],
878878
'benefits-fau-text' => [
879879
'de' => 'Die FAU bietet Ihnen mit über 275 Studiengängen eine inspirierende Lernumgebung, studentische Gemeinschaft und zahlreiche Möglichkeiten, Ihre Leidenschaft zu entdecken.',

fau-studium-display.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Plugin Name: FAU Studium Display
55
Plugin URI: https://github.com/RRZE-Webteam/fau-studium-display
66
Description: Plugin for displaying the degree program information on websites.
7-
Version: 1.0.7
7+
Version: 1.0.8
88
Author: RRZE Webteam
99
License: GNU General Public License v3
1010
License URI: http://www.gnu.org/licenses/gpl-3.0.html

languages/fau-studium-display.pot

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# This file is distributed under the GNU General Public License v3.
33
msgid ""
44
msgstr ""
5-
"Project-Id-Version: FAU Studium Display 1.0.7\n"
5+
"Project-Id-Version: FAU Studium Display 1.0.8\n"
66
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/fau-studium-display\n"
77
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
88
"Language-Team: LANGUAGE <LL@li.org>\n"

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "fau-studium-display",
3-
"version": "1.0.7",
3+
"version": "1.0.8",
44
"main": "build/index.js",
55
"scripts": {
66
"build": "wp-scripts build",

src/block/block.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"$schema": "https://schemas.wp.org/trunk/block.json",
33
"apiVersion": 3,
44
"name": "fau-studium/display",
5-
"version": "1.0.7",
5+
"version": "1.0.8",
66
"title": "FAU-Studium Display",
77
"category": "rrze",
88
"description": "",

src/scss/_layout-full.scss

Lines changed: 32 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@
3434
width: 100vw;
3535
left: 50%;
3636
margin-left: -50vw;
37+
box-sizing: border-box;
38+
padding: var(--Spacing-4x, 1rem);
3739
}
3840

3941
h2, h2:first-child {
@@ -94,27 +96,30 @@
9496
}
9597

9698
.program-header {
99+
box-sizing: border-box;
100+
width: 90%;
97101
max-width: calc(870px + 64px);
98-
margin: 0 16px -32px;
99-
padding: 16px;
102+
margin: 0 auto -32px;
103+
padding: var(--Spacing-3x, 0.75rem);
100104
background-color: #fff;
101105
color: var(--FAU_Col_FAU-Blau, #04316A);
102-
@media screen and (min-width: 768px) {
103-
padding: 32px;
106+
@media screen and (min-width: 394px) {
107+
padding: var(--Spacing-2x, 0.5rem) var(--Spacing-4x, 1rem);
104108
}
105-
@media screen and (min-width: 992px) {
106-
margin-left: auto;
107-
margin-right: auto;
109+
@media screen and (min-width: 768px) {
110+
padding: var(--Spacing-4x, 1rem) var(--Spacing-8x, 2rem);
108111
}
109112
h1 {
110-
@media (max-width: 768px) {
113+
font-size: 1.75rem;
114+
@media (min-width: 394px) {
111115
font-size: 2.5rem;
112116
}
113117
}
114118
h1, p.program-subtitle {
115119
color: var(--FAU_Col_FAU-Blau, #04316A);
116120
margin: 0;
117121
padding: 0;
122+
line-height: 1.5;
118123
}
119124
}
120125

@@ -143,6 +148,7 @@
143148
.fact-sheet {
144149
padding: 40px 16px 16px;
145150
margin-top: 56px;
151+
box-sizing: border-box;
146152
@media screen and (min-width: 768px) {
147153
//padding: 40px 32px 32px;
148154
}
@@ -199,6 +205,7 @@
199205
h3 {
200206
color: #fff;
201207
font-size: var(--H-Heading-2, 2rem);
208+
margin-bottom: 0;
202209
}
203210

204211
.student-advice {
@@ -299,7 +306,6 @@
299306
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
300307
margin-top: 0;
301308
background-color: var(--FAU_Col_FAU-Blau, #04316A);
302-
padding: 0 16px 16px;
303309
@media screen and (min-width: 768px) {
304310
grid-template-columns: repeat(2, 1fr);
305311
}
@@ -417,12 +423,28 @@
417423
}
418424
}
419425
.student-advice-more {
426+
.useful-links {
427+
padding: 0;
428+
}
420429
.wp-block-fau-elemental-fau-teaser-grid {
421430
margin-bottom: 32px;
422431
.fau-teaser-grid {
423-
gap: 32px;
432+
grid-template-columns: repeat(1, 1fr);
433+
gap: 16px;
434+
@media (min-width: 768px) {
435+
grid-template-columns: repeat(2, 1fr);
436+
gap: 32px;
437+
}
424438
}
425439
}
426440
}
427441
}
442+
}
443+
444+
.fau-elemental.single-degree-program {
445+
main {
446+
//@media (max-width: 393px) {
447+
--faue_minimal_inline-margin: 0;
448+
//}
449+
}
428450
}

0 commit comments

Comments
 (0)