Commit 1f30e828 authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

Merge branch '605' into 'MetaGer-Redesign'

Fixed H1 Styling for Quicktips

See merge request !1074
parents 0342f636 b0d6cd06
......@@ -678,15 +678,16 @@ function createQuicktips (quicktips, sprueche) {
});
} else {
mainElem = $('<div class="quicktip-summary">');
if (quicktip.title.length > 0) {
var headlineElem = $('<h1>');
if (quicktip.url.length > 0) {
headlineElem.append('<a href=' + quicktip.url + '>' + quicktip.title + '</a>');
} else {
headlineElem.text(quicktip.title);
}
mainElem
.append(headlineElem)
.append('<p>' + quicktip.summary + '</p>');
mainElem.append(headlineElem);
}
mainElem.append('<p>' + quicktip.summary + '</p>');
}
var quicktipDiv = $('<div class="quicktip" type="' + quicktip.type + '">');
quicktipDiv
......
......@@ -673,6 +673,15 @@ a {
}
}
@keyframes quicktip-extender-turn {
from {
transform: rotate(0deg);
}
to {
transform: rotate(180deg);
}
}
/*
* <div id="quicktips">
......@@ -688,15 +697,6 @@ a {
* </...>
*/
@keyframes quicktip-extender-turn {
from {
transform: rotate(0deg);
}
to {
transform: rotate(180deg);
}
}
#quicktips {
display: flex;
flex-direction: column;
......@@ -706,7 +706,7 @@ a {
}
.quicktip {
margin: 10px 0px;
padding-left: 10px;
padding: 10px 0px 10px 10px;
border-left: 3px solid #fb0;
details:not([open=""]) {
.quicktip-summary p {
......@@ -717,6 +717,7 @@ a {
}
.quicktip-summary {
h1 {
margin: 0px 0px 5px 0px;
font-size: 18px;
font-weight: bold;
display: flex;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment