am css gearbeitet

This commit is contained in:
xoy 2023-01-29 20:17:42 +01:00
parent 4ca05fba38
commit 16d10d5dea
3 changed files with 5 additions and 6 deletions

View File

@ -78,7 +78,7 @@ func htmlReplacer(input string, activePage string) string {
}
tempA = htmlElement("h2", htmlClean(Event.title), "class=\"title\"")
tempA += htmlElement("p", htmlClean(Event.date), "class=\"dat\"")
tempA += htmlElement("p", htmlClean(Event.date), "class=\"date\"")
tempA += htmlElement("p", htmlClean(Event.description), "class=\"desc\"")
tempB += htmlLinkElement(htmlElement("div", tempA, "class=\"event\""), "event/"+strconv.Itoa(Event.id), false, "class=\"event\"")
tempB += "!SPLIT"

View File

@ -19,7 +19,7 @@ div.eventList a.event:hover {
div.eventList a.event div.event {
max-width: 100%;
width: 200px;
width: 420px;
height: 200px;
transform: scale(1);
transition: transform .5s;
@ -34,8 +34,7 @@ div.eventList a.event div.event:hover {
}
div.eventList a.event div.event p.date {
position: absolute;
right: 10px;
top: 10px;
text-align: right;
padding-right: 10px;
text-decoration: none !important;
}

View File

@ -174,7 +174,7 @@ p.topic {
nav ul li {
display: block;
font-size: 200%;
padding: 20px 0 20px 0;
padding: 20px 20px 20px 0;
text-align: right;
}
}