From cb792af9c1814e3ed9625189f984b1b3900d5bbe Mon Sep 17 00:00:00 2001 From: kiki Date: Tue, 26 Jun 2018 16:14:38 +0200 Subject: [PATCH] prefix in css for transform --- themes/hackit0x15/static/css/hackit.css | 67 ++++++++++++++++--------- 1 file changed, 44 insertions(+), 23 deletions(-) diff --git a/themes/hackit0x15/static/css/hackit.css b/themes/hackit0x15/static/css/hackit.css index 707e309..4fee1e5 100644 --- a/themes/hackit0x15/static/css/hackit.css +++ b/themes/hackit0x15/static/css/hackit.css @@ -9,24 +9,34 @@ body { font-size: 2em; height: 100%; } + /*banner*/ -.banner{ - background:#fff; - color:#9c2f2f; +.banner { + background: #fff; + color: #9c2f2f; } + .banner img { vertical-align: middle; left: 50%; position: relative; - transform: translate(-50%,0); + -webkit-transform: translate(-50%, 0); + /* Ch <36, Saf 5.1+, iOS < 9.2, An =<4.4.4 */ + -ms-transform: translate(-50%, 0); + /* IE 9 */ + transform: translate(-50%, 0); + /* IE 10, Fx 16+, Op 12.1+ */ + width: 320px; } + .header-ul-menu { list-style: none; color: #fff; background: #9c2f2f; margin-top: -60px; } + .header-ul-menu .header-menu { font-size: 2em; } @@ -41,7 +51,7 @@ body { ul, p { - background-color: rgba(255,255,255, 0); + background-color: rgba(255, 255, 255, 0); } a, @@ -57,17 +67,17 @@ a:focus, /* ci sono due selettori diversi perche' quando genera da markdown e da restructuredtext fa due output un po' * diversi */ + #content .entry-content > h2, -#content .entry-content > .section:first-child>h2 -{ +#content .entry-content > .section:first-child > h2 { background-color: white; - /* padding: 1em 0;*/ + /* padding: 1em 0;*/ color: black; margin-bottom: 1em; left: 0; font-size: 200%; text-align: center; - /* position: relative; + /* position: relative; width: 100vw; transform: translate(-8%,0);*/ } @@ -83,11 +93,12 @@ h3, h4, strong, tt { - background: #fff; + background: #fff; padding: 6px 10px; font-weight: 600; color: #9c2f2f; - border-bottom; 0px; + border-bottom; + 0px; } .talk-resources h4 { @@ -101,18 +112,21 @@ h2, h3, h4, tt { - display: inline-block; + display: inline-block; } + a.toc-backref:hover { - color: rgba(0,0,0,1); + color: rgba(0, 0, 0, 1); } tt.literal { font-size: 80%; } + .navbar-brand { display: none; } + .navbar { background-color: #000; } @@ -163,7 +177,7 @@ tt.literal { /* HOME {{{ */ -.body-index blockquote { +.body-index blockquote { font-size: 21px; margin-left: auto; margin-right: auto; @@ -176,11 +190,12 @@ tt.literal { /* END HOME }}} */ -{ - position:relative; - width:100%; - + { + position: relative; + width: 100%; + } + /* TALK {{{ */ .talk-grid { @@ -241,20 +256,26 @@ td.talk > a { background-color: rgb(60, 22, 22) } -.talk-title a, .talk-title a:hover, .talk-title a:focus { +.talk-title a, +.talk-title a:hover, +.talk-title a:focus { color: #9c2f2f; border-bottom: none; } + .talk-description strong { background: inherit; color: inherit; } /* END TALK }}} */ + /*media query*/ + @media all and (min-width: 770px) { - .navbar, .navbar .navbar-brand, -.navbar .navbar-nav > li > a { - background-color: #9c2f2f; -} + .navbar, + .navbar .navbar-brand, + .navbar .navbar-nav > li > a { + background-color: #9c2f2f; + } }