Skip to content

Commit ba038a5

Browse files
committed
Use more compact header layout for talks
1 parent 4515f21 commit ba038a5

File tree

3 files changed

+18
-2
lines changed

3 files changed

+18
-2
lines changed

Diff for: _layouts/talk.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
<a href="https://www.w3.org/"><img alt="W3C" src=
2424
"https://www.w3.org/Icons/w3c_home"></a>
2525
</div>
26-
<div id="top">
27-
<h1 class=small>
26+
<div id="top" class=small>
27+
<h1>
2828
W3C Workshop on Web and Machine Learning
2929
</h1>
3030
</div>

Diff for: images/workshop-short-banner.png

15.3 KB
Loading

Diff for: style.css

+16
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,16 @@ header #translations {
5151
position: relative;
5252
}
5353

54+
#top.small {
55+
background-color: black;
56+
background-image: url("images/workshop-short-banner.png");
57+
background-repeat: no-repeat;
58+
background-size: contain;
59+
min-height: 100px;
60+
position: relative;
61+
}
62+
63+
5464
#top h1,
5565
#top h2 {
5666
margin-left:450px;
@@ -59,6 +69,12 @@ header #translations {
5969
text-shadow: 4px 4px 20px black;
6070
}
6171

72+
#top.small h1 {
73+
text-shadow: none;
74+
margin-left: 100px;
75+
}
76+
77+
6278
#top h1 a:link, #top h1 a:visited { color: white;}
6379

6480
#top a.credit { position: absolute; bottom:0; right:0;}

0 commit comments

Comments
 (0)