From bd359acc3df2a1cbcc023be3ccf923834f759168 Mon Sep 17 00:00:00 2001 From: jeremejazz Date: Wed, 6 Sep 2017 14:14:19 +0800 Subject: [PATCH 01/26] add filter by level --- css/pythonbooks.css | 30 +++++++++++++++++++++++----- index.html | 48 ++++++++++++++++++++++++++++++++++++++++++--- 2 files changed, 70 insertions(+), 8 deletions(-) diff --git a/css/pythonbooks.css b/css/pythonbooks.css index 6ccb174..8a5d359 100644 --- a/css/pythonbooks.css +++ b/css/pythonbooks.css @@ -1233,12 +1233,32 @@ a.jsbookslinks { } .pythonbooks { background-color: transparent; - margin: 0 0 30px; + margin: 25px 0 5px; } .pythonbooks > * { display: inline; margin-right: 10px; } +#filterBy { + float: left; + overflow: hidden; + margin: 0 0 30px; +} +#filterBy li { + float: left; + margin: 0 0 0 10px; + list-style: none; +} +#filterBy li:first-child { + margin-left: 0; +} +#filterBy a { + color: #0b4d84; +} + #filterBy .active { + color: #2f99f1; +} + .booksection { margin-bottom: 30px; } @@ -1325,7 +1345,7 @@ hr { border-top: 1px solid #dfdddd; border-bottom: 1px solid white; } -ul { +ul#social_buttons { list-style-type: none; position: absolute; top: 50%; @@ -1333,11 +1353,11 @@ ul { right: 40px; height: 20px; } -ul li { +ul#social_buttons li { display: inline; height: 20px; } -ul li a { +ul#social_buttons li a { vertical-align: top; color: grey; text-shadow: 1px 0 0 rgba(255, 255, 255, 0.4); @@ -1348,7 +1368,7 @@ ul li a { -ms-transition: all .2s linear; transition: all .2s linear; } -ul li a:hover { +ul#social_buttons li a:hover { text-decoration: none; color: black; text-shadow:none; diff --git a/index.html b/index.html index 5f5344d..a7bd974 100644 --- a/index.html +++ b/index.html @@ -31,7 +31,7 @@ python tutorials

The best free Python resources

by revolunet - rich web apps for desktop and mobile -