Skip to content

Commit 50d8337

Browse files
committed
Subheader style for blogger tables
1 parent 8338ecd commit 50d8337

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

src/css/blogger-tweaks/spec.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,8 @@ <h1 class=entry-title>
127127
&lt;tbody&gt;
128128
&lt;tr&gt;&lt;td&gt;Chrome&lt;/td&gt;&lt;td&gt;Google&lt;/td&gt;&lt;/tr&gt;
129129
&lt;tr&gt;&lt;td&gt;Safari&lt;/td&gt;&lt;td&gt;Apple&lt;/td&gt;&lt;/tr&gt;
130+
&lt;tr&gt;&lt;th colspan=2&gt;Historic&lt;/th&gt;
131+
&lt;tr&gt;&lt;td&gt;Mosaic&lt;/td&gt;&lt;td&gt;NCSA&lt;/td&gt;&lt;/tr&gt;
130132
&lt;/tbody&gt;
131133
&lt;/table&gt;
132134

src/css/blogger-tweaks/style.less

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,13 @@ body >.viewitem-panel {
214214
&:hover {
215215
background-color: aliceblue;
216216
}
217+
th[colspan] { //add colspan attribute to fill table width
218+
font-size: 0.9rem;
219+
text-align: center;
220+
text-transform: uppercase;
221+
color: white;
222+
background-color: steelblue;
223+
}
217224
td {
218225
vertical-align: top;
219226
padding: 4px 10px;

0 commit comments

Comments
 (0)