major changes
This commit is contained in:
@@ -17,18 +17,18 @@ h1.title {
|
||||
width: 70%;
|
||||
}
|
||||
|
||||
#page-content h1, #page-content h2 {
|
||||
#article_content h1,#article_content h2, #page-content h1, #page-content h2 {
|
||||
padding: 0.2em 0.5em;
|
||||
width: 100%;
|
||||
color: #fff;
|
||||
}
|
||||
#page-content h1{
|
||||
#article_content h1,#page-content h1{
|
||||
background-color: rgba(0,0,0,0.9);
|
||||
}
|
||||
#page-content h1 a{
|
||||
#article_content h1 a,#page-content h1 a{
|
||||
color:white;
|
||||
}
|
||||
#page-content h2{
|
||||
#article_content h2,#page-content h2{
|
||||
background-color: rgba(0,0,0,0.65);
|
||||
|
||||
}
|
||||
@@ -248,7 +248,7 @@ td.code {
|
||||
}
|
||||
|
||||
|
||||
.panel, #page-content{
|
||||
.panel, #article_content, #page-content{
|
||||
background-color: rgba(183, 183, 183, 0.3);
|
||||
border-radius:0.3em 0.3em 0 0;
|
||||
|
||||
@@ -282,7 +282,7 @@ ul.pagination li {
|
||||
margin:0 auto;
|
||||
}
|
||||
|
||||
#page-content {
|
||||
#article_content, #page-content {
|
||||
width: 80%;
|
||||
margin: 0 auto;
|
||||
/*background-color: #2c3e6e;*/
|
||||
@@ -295,12 +295,12 @@ ul.pagination li {
|
||||
/*color: #E1FFFF;*/
|
||||
/*}*/
|
||||
|
||||
#page-content .header {
|
||||
##article_content .header, page-content .header {
|
||||
border-bottom: 0.1em dotted black;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#page-content .content {
|
||||
##article_content .content, page-content .content {
|
||||
margin-top: 1em;
|
||||
}
|
||||
|
||||
|
||||
@@ -93,17 +93,16 @@
|
||||
<label for="menu-toggle">hide/show menu</label>
|
||||
|
||||
<ul id="menuitem-list">
|
||||
{% for p in PAGES %}
|
||||
{% if p.url is string %}
|
||||
{% if p.title != 'Search' %}
|
||||
{% for title, url in MENUITEMS %}
|
||||
{% if url is string %}
|
||||
{% if title != 'Search' %}
|
||||
<li class="dropdown">
|
||||
<a class="menulink head {% if p.url == page %}active{% endif %}" href="{{ genurl( p.url ) }}" {{ newtab(p.url) }}>{{ p.title }}</a>
|
||||
<a class="menulink head {% if url == page %}active{% endif %}" href="{{ genurl( url ) }}" {{ newtab(url) }}>{{ title }}</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% elif p.url is iterable %}
|
||||
{% elif url is iterable %}
|
||||
<li class="dropdown">
|
||||
<!-- FIXME Selecting a submenu link does not set the head link active, need a custom jinja test for that //-->
|
||||
<a href="#" class="dropdown-toggle menulink head {% if p.url == page %}active{% endif %}" data-toggle="dropdown">
|
||||
<a href="#" class="dropdown-toggle menulink head {% if url == page %}active{% endif %}" data-toggle="dropdown">
|
||||
{{- title }}
|
||||
</a>
|
||||
<ul class="dropdown-content" role="menu">
|
||||
|
||||
Reference in New Issue
Block a user