[dpdk-web] [PATCH 1/5] add css styles for event pages

Ali Alnubani alialnu at mellanox.com
Thu Mar 22 18:35:56 CET 2018


Signed-off-by: Ali Alnubani <alialnu at mellanox.com>
Signed-off-by: Thomas Monjalon <thomas at monjalon.net>
---
 content.css | 43 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)

diff --git a/content.css b/content.css
index 367549c..fea7dcc 100644
--- a/content.css
+++ b/content.css
@@ -68,6 +68,49 @@ section#news li em:first-child {
 	display: block;
 }
 
+section#event ul {
+	clear: left;
+	list-style: none;
+	margin-left: 0;
+}
+section#event li {
+	margin: 3em 0 1em 0;
+}
+section#event li > em {
+	display: inline-block;
+	margin-top: 1em;
+}
+section#event li > a {
+	float: right;
+	margin: 0.5em 0 0 2em;
+	vertical-align: top;
+	text-align: center;
+	text-decoration: none;
+}
+section#event li > a::after {
+	content: attr(class);
+}
+section#event li > a:hover::after {
+	text-decoration: underline;
+}
+section#event li > a .material-icons {
+	display: block;
+	font-size: 2em;
+}
+section#event li > a.Slides .material-icons::before {
+	content: "insert_drive_file";
+}
+section#event li > a.Video .material-icons::before {
+	content: "play_circle_outline";
+}
+section#event > img.venue {
+	float: left;
+	margin: 0 2em 2em 0;
+}
+section#event > img.room {
+	margin: 1em 0;
+}
+
 section pre {
 	padding-left: 1em;
 	border-left: solid 0.3em #782A90;
-- 
2.11.0



More information about the web mailing list