am css gearbeitet
This commit is contained in:
parent
11c486736b
commit
7bcfd9273f
2
html.go
2
html.go
|
@ -80,7 +80,7 @@ func htmlReplacer(input string, activePage string) string {
|
|||
tempA = htmlElement("h2", htmlClean(Event.title), "title")
|
||||
tempA += htmlElement("p", htmlClean(Event.date), "date")
|
||||
tempA += htmlElement("p", htmlClean(Event.description), "desc")
|
||||
tempB += htmlLinkElement(htmlElement("div", tempA, ""), "event/"+strconv.Itoa(Event.id), false, "class=\"event\"")
|
||||
tempB += htmlLinkElement(htmlElement("div", tempA, "class=\"event\""), "event/"+strconv.Itoa(Event.id), false, "class=\"event\"")
|
||||
tempB += "!SPLIT"
|
||||
}
|
||||
output = strings.ReplaceAll(output, "!EVENTS", htmlElement("div", strings.ReplaceAll(tempB, "!SPLIT", ""), "class=\"eventList\""))
|
||||
|
|
|
@ -7,7 +7,6 @@ div.eventList {
|
|||
|
||||
div.eventList a.event {
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
color: white !important;
|
||||
background-color: var(--nav-background-color) !important;
|
||||
}
|
||||
|
@ -17,8 +16,6 @@ div.eventList a.event:hover {
|
|||
}
|
||||
|
||||
div.eventList a.event div.event {
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
max-width: 200px;
|
||||
width: 100%;
|
||||
height: 200px;
|
||||
|
|
Loading…
Reference in New Issue