From 2135bcec61cf346555f8fd1e24bbb9267d002502 Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Sun, 24 May 2015 14:09:51 +1200 Subject: docs: styles now live in www.mitproxy.org repo, make images responsive --- doc-src/01-vendor.css | 1 - doc-src/02-app.css | 43 +++++++++++++++++++++++++++++++++ doc-src/02-docstyle.css | 36 --------------------------- doc-src/_layout.html | 6 ++--- doc-src/dev/architecture.html | 4 +-- doc-src/howmitmproxy.html | 8 +++--- doc-src/mitmproxy.html | 28 ++++++++++----------- doc-src/modes.html | 20 +++++++-------- doc-src/tutorials/gamecenter.html | 6 ++--- doc-src/tutorials/transparent-dhcp.html | 8 +++--- 10 files changed, 83 insertions(+), 77 deletions(-) create mode 100644 doc-src/02-app.css delete mode 100644 doc-src/02-docstyle.css diff --git a/doc-src/01-vendor.css b/doc-src/01-vendor.css index 2f65c8a3..9c97647a 100644 --- a/doc-src/01-vendor.css +++ b/doc-src/01-vendor.css @@ -1,4 +1,3 @@ -@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,700"); .navbar-inverse .badge { background-color: #fff; color: #2780e3; diff --git a/doc-src/02-app.css b/doc-src/02-app.css new file mode 100644 index 00000000..c7bd41ff --- /dev/null +++ b/doc-src/02-app.css @@ -0,0 +1,43 @@ +.masthead { + text-align: center; + border-bottom: 0; +} +.frontpage .talks div { + margin-bottom: 10px; +} +.nav-sidebar { + background-color: #f0f0f0; + margin-bottom: 20px; +} +.nav-sidebar li { + line-height: 1.1; +} +.nav-sidebar li > a, +.nav-sidebar .nav-header { + padding-left: 20px; +} +.nav-sidebar .nav-header { + margin-top: 1em; + font-size: 1.2em; + font-weight: bold; +} +.nav-sidebar .active > a, +.nav-sidebar .active > a:hover, +.nav-sidebar .active > a:focus { + color: #fff; + background-color: #428bca; +} +.tablenum { + font-weight: bold; +} +.nowrap { + white-space: nowrap; +} +.page-header { + margin: 0px 0 22px; +} +.page-header h1 { + margin-top: 0px; +} + +/*# sourceMappingURL=02-app.css.map */ \ No newline at end of file diff --git a/doc-src/02-docstyle.css b/doc-src/02-docstyle.css deleted file mode 100644 index 59528bb3..00000000 --- a/doc-src/02-docstyle.css +++ /dev/null @@ -1,36 +0,0 @@ - - -/* Sidebar navigation */ -.nav-sidebar { - margin-right: -21px; /* 20px padding + 1px border */ - margin-bottom: 20px; - margin-left: -20px; -} -.nav-sidebar > li > a { - padding-right: 20px; - padding-left: 20px; -} -.nav-sidebar > .active > a, -.nav-sidebar > .active > a:hover, -.nav-sidebar > .active > a:focus { - color: #fff; - background-color: #428bca; -} - - - -.tablenum { - font-weight: bold; -} - -.nowrap { - white-space: nowrap; -} - -h1 { - line-height: 1.1; -} - -.page-header { - margin: 0px 0 22px; -} diff --git a/doc-src/_layout.html b/doc-src/_layout.html index 221da466..e8b01934 100644 --- a/doc-src/_layout.html +++ b/doc-src/_layout.html @@ -5,7 +5,7 @@ $!header!$ -