Fix wrong CSS selectors causing bleeding of footer link atributes to other links

sql-rework
Tomasz Golinski 2020-01-02 01:20:10 +01:00
rodzic cdf0e63a7c
commit 257fd39c6f
2 zmienionych plików z 11 dodań i 6 usunięć

15
geo.css
Wyświetl plik

@ -29,12 +29,16 @@ form {
text-align: center;
}
div.basic_stats , div.footer {
div.basic_stats {
text-align: center;
padding-bottom: 20px;
}
table, dl, .histogram_others, .heatmap, .footer {
a:link, a:visited, a:hover, a:active {
color: #48B;
}
table, dl, .histogram_others, .heatmap {
margin-left: auto;
margin-right: auto;
padding-bottom: 20px;
@ -44,13 +48,14 @@ table, dl, .histogram_others, .heatmap, .footer {
display: block;
}
.footer {
font-weight: normal;
#footer {
text-align: center;
font-weight: normal;
color: #999;
font-size: 10px;
}
.footer a:link, a:visited, a:hover {
#footer a:link, #footer a:visited, #footer a:hover, #footer a:active {
text-decoration: none;
font-weight: bold;
color: #666;

Wyświetl plik

@ -474,7 +474,7 @@ int main(int argc, char** argv) {
}
if (show_html) {
std::cout << "<div class=\"footer\">\n";
std::cout << "<div id=\"footer\">\n";
std::cout << "Stats generated by <a href=\"https://gitlab.com/tomaszg/geostat\">GeoStat</a>.<br>\n";
std::cout << "Data obtained from Opencaching sites via <a href=\"https://github.com/opencaching/okapi/\">OKAPI</a>:<br>\n";
std::cout << "<a href=\"https://www.opencaching.pl/\">Opencaching.pl</a>, ";