am css gearbeitet
This commit is contained in:
parent
aa727cbbbb
commit
f35bbeb4d4
2
html.go
2
html.go
|
@ -78,7 +78,7 @@ func htmlReplacer(input string, activePage string) string {
|
||||||
}
|
}
|
||||||
|
|
||||||
tempA = htmlElement("h2", htmlClean(Event.title), "class=\"title\"")
|
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\"")
|
tempA += htmlElement("p", htmlClean(Event.description), "class=\"desc\"")
|
||||||
tempB += htmlLinkElement(htmlElement("div", tempA, "class=\"event\""), "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"
|
tempB += "!SPLIT"
|
||||||
|
|
|
@ -19,7 +19,7 @@ div.eventList a.event:hover {
|
||||||
|
|
||||||
div.eventList a.event div.event {
|
div.eventList a.event div.event {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
width: 200px;
|
width: 420px;
|
||||||
height: 200px;
|
height: 200px;
|
||||||
transform: scale(1);
|
transform: scale(1);
|
||||||
transition: transform .5s;
|
transition: transform .5s;
|
||||||
|
@ -34,8 +34,7 @@ div.eventList a.event div.event:hover {
|
||||||
}
|
}
|
||||||
|
|
||||||
div.eventList a.event div.event p.date {
|
div.eventList a.event div.event p.date {
|
||||||
position: absolute;
|
text-align: right;
|
||||||
right: 10px;
|
padding-right: 10px;
|
||||||
top: 10px;
|
|
||||||
text-decoration: none !important;
|
text-decoration: none !important;
|
||||||
}
|
}
|
|
@ -174,7 +174,7 @@ p.topic {
|
||||||
nav ul li {
|
nav ul li {
|
||||||
display: block;
|
display: block;
|
||||||
font-size: 200%;
|
font-size: 200%;
|
||||||
padding: 20px 0 20px 0;
|
padding: 20px 20px 20px 0;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue