Browse Source

CSS fixes with markdown tables and Google ads

rophako
Noah Petherbridge 7 years ago
parent
commit
1fbd882bac
  1. 2
      www/google-ads.inc.html
  2. 13
      www/solar/ui.css

2
www/google-ads.inc.html

@ -17,7 +17,7 @@
{% endmacro %}
{% macro leaderboard() %}
<div style="text-align: center">
<div style="text-align: center" class="google-leaderboard">
<script type="text/javascript"><!--
google_ad_client = "ca-pub-0838718168234603";
/* Kirsle.net Leaderboard */

13
www/solar/ui.css

@ -155,12 +155,14 @@ blockquote {
clear: both;
}
.markdown table,
table.table,
table.table th,
table.table td {
border: 1px solid #999999;
}
.markdown table,
table.table {
border-collapse: collapse;
border-spacing: 0;
@ -172,6 +174,7 @@ table.table-wide {
width: 100%;
}
.markdown table th,
table.table th {
background-color: #003366;
color: #FFFFFF;
@ -179,14 +182,17 @@ table.table th {
padding: 4px;
}
.markdown table tr:nth-child(even),
table.table tr:nth-child(even) {
background-color: #000000;
}
.markdown table tr:nth-child(odd),
table.table tr:nth-child(odd) {
background-color: #202020;
}
.markdown table td,
table.table td {
padding: 4px;
vertical-align: top;
@ -445,6 +451,13 @@ a.wiki-broken {
height: auto;
}
/* Hide the uber wide leaderboard Google ad on mobile */
@media (max-width: 940px) {
.google-leaderboard {
display: none;
}
}
/*************
* Eye Candy *
************/

Loading…
Cancel
Save