Skip to content

Commit

Permalink
fix css error that breaks the sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
MacHu-GWU committed Oct 19, 2018
1 parent 88b5306 commit 5acb20c
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 216 deletions.
10 changes: 0 additions & 10 deletions docs/source/_static/.custom-style.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
.. Color profiles for Sphinx.
.. Has to be used with hacks.css (bitbucket.org/lbesson/web-sphinx/src/master/.static/hacks.css)
.. role:: black
.. role:: gray
.. role:: grey
Expand Down Expand Up @@ -34,10 +31,3 @@

.. role:: small
.. role:: large

.. role:: center
.. role:: left
.. role:: right


.. (c) Lilian Besson, 2011-2016, https://bitbucket.org/lbesson/web-sphinx/
206 changes: 0 additions & 206 deletions docs/source/_static/css/custom-style.css
Original file line number Diff line number Diff line change
@@ -1,13 +1,3 @@
/*
* CSS hacks and small modification for my Sphinx website
* :copyright: Copyright 2013-2016 Lilian Besson
* :license: GPLv3, see LICENSE for details.
*/


/* Colors and text decoration.
For example, :black:`text in black` or :blink:`text blinking` in rST. */

.black {
color: black;
}
Expand Down Expand Up @@ -128,202 +118,6 @@
font-size: large;
}

.smallpar {
font-size: small;
}


/* Style pour les badges en bas de la page. */

div.supportBadges {
margin: 1em;
text-align: right;
}

div.supportBadges ul {
padding: 0;
display: inline;
}

div.supportBadges li {
display: inline;
}

div.supportBadges a {
margin-right: 1px;
opacity: 0.6;
}

div.supportBadges a:hover {
opacity: 1;
}


/* Details elements in the sidebar */

a.reference {
border-bottom: none;
text-decoration: none;
}

ul.details {
font-size: 80%;
}

ul.details li p {
font-size: 85%;
}

ul.externallinks {
font-size: 85%;
}


/* Pour le drapeau de langue */

img.languageswitch {
width: 50px;
height: 32px;
margin-left: 5px;
vertical-align: bottom;
}

div.sphinxsidebar {
overflow: hidden !important;
font-size: 120%;
word-wrap: break-word;
width: 300px;
max-width: 300px;
}

div.sphinxsidebar h3 {
font-size: 125%;
}

div.sphinxsidebar h4 {
font-size: 110%;
}

div.sphinxsidebar a {
font-size: 85%;
}


/* Image style for scrollUp jQuery plugin */

#scrollUpLeft {
bottom: 50px;
left: 260px;
height: 38px;
width: 38px;
background: url('//perso.crans.org/besson/_images/.top.svg');
background: url('../_images/.top.svg');
}

@media screen and (max-width: 875px) {
#scrollUpLeft {
right: 50px;
left: auto;
}
}


/* responsive for font-size. */

@media (max-width: 875px) {
body {
font-size: 105%;
/* Increase font size for responsive theme */
}
}

@media (max-width: 1480px) and (min-width: 876px) {
body {
font-size: 110%;
/* Increase font size for not-so-big screens */
}
}

@media (min-width: 1481px) {
body {
font-size: 115%;
/* Increase even more font size for big screens */
}
}


/* Social Icons in the sidebar (available: twitter, facebook, linkedin, google+, bitbucket, github) */

.social-icons {
display: inline-block;
margin: 0;
text-align: center;
}

.social-icons a {
background: none no-repeat scroll center top #444444;
border: 1px solid #F6F6F6;
border-radius: 50% 50% 50% 50%;
display: inline-block;
height: 35px;
width: 35px;
margin: 0;
text-indent: -9000px;
transition: all 0.2s ease 0s;
text-align: center;
border-bottom: none;
}

.social-icons li {
display: inline-block;
list-style-type: none;
border-bottom: none;
}
.social-icons li a {
border-bottom: none;
}

.social-icons a:hover {
background-color: #666666;
transition: all 0.2s ease 0s;
text-decoration: none;
}

.social-icons a.facebook {
background-image: url('../_images/.facebook.png');
background-image: url('//perso.crans.org/besson/_images/.facebook.png');
display: block;
margin-left: auto;
margin-right: auto;
background-size: 35px 35px;
}

.social-icons a.bitbucket {
background-image: url('../_images/.bitbucket.png');
background-image: url('//perso.crans.org/besson/_images/.bitbucket.png');
display: block;
margin-left: auto;
margin-right: auto;
background-size: 35px 35px;
}

.social-icons li a.github {
background-image: url('../_images/.github.png');
background-image: url('//perso.crans.org/besson/_images/.github.png');
display: block;
margin-left: auto;
margin-right: auto;
background-size: 35px 35px;
}

.social-icons li a.wikipedia {
background-image: url('../_images/.wikipedia.png');
background-image: url('//perso.crans.org/besson/_images/.wikipedia.png');
display: block;
margin-left: auto;
margin-right: auto;
background-size: 35px 35px;
}

table.sortable th:not(.sorttable_sorted):not(.sorttable_sorted_reverse):not(.sorttable_nosort):after {
content: " \25B4\25BE"
Expand Down
Binary file removed docs/source/_static/wotlkdoc-favicon-old.ico
Binary file not shown.
Binary file removed docs/source/_static/wotlkdoc-logo-old.png
Binary file not shown.
Binary file modified docs/source/_static/wotlkdoc-logo.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@
html_theme = 'classic'
html_theme_options = {
"stickysidebar": True,
"collapsiblesidebar": True,
}

# Add any paths that contain custom static files (such as style sheets) here,
Expand Down

0 comments on commit 5acb20c

Please sign in to comment.