Browse Source

Uprava menu.

remotes/origin/vyslbez12
Jethro 9 years ago
parent
commit
a97bda0679
  1. 10
      mamweb/static/css/mamweb.css
  2. 2
      mamweb/templates/base.html

10
mamweb/static/css/mamweb.css

@ -102,7 +102,7 @@ h2 {
min-width: 140px; min-width: 140px;
text-align: center; text-align: center;
font-size: 150%; font-size: 140%;
font-weight: 400; font-weight: 400;
font-variant: small-caps; font-variant: small-caps;
border-bottom-left-radius: 8px; border-bottom-left-radius: 8px;
@ -120,7 +120,7 @@ h2 {
color: #003c00; color: #003c00;
} }
#menu a.selected { #menu a.selected {
color: #003c00; background-color:#cc9024;
} }
#submenu { #submenu {
@ -131,7 +131,7 @@ h2 {
} }
#submenu ul { #submenu ul {
padding: 0px 15px; padding: 0px 15px;
font-size: 150%; font-size: 140%;
font-weight: 400; font-weight: 400;
} }
#submenu li { #submenu li {
@ -145,6 +145,10 @@ h2 {
#submenu li>a:hover { #submenu li>a:hover {
color: #3c003c; color: #3c003c;
} }
#submenu a.selected {
background-color: #cc8400;
}
/*#submenu li:first-child { /*#submenu li:first-child {
border-top-left-radius: 7px; border-top-left-radius: 7px;
border-top-right-radius: 7px; border-top-right-radius: 7px;

2
mamweb/templates/base.html

@ -66,7 +66,7 @@
<li class="{% block menu_zadani %}{% endblock %}"><a href="/zadani/aktualni/">Zadání</a> <li class="{% block menu_zadani %}{% endblock %}"><a href="/zadani/aktualni/">Zadání</a>
<li class="{% block menu_clanky %}{% endblock %}"><a href="/clanky/uvod/">Články</a> <li class="{% block menu_clanky %}{% endblock %}"><a href="/clanky/uvod/">Články</a>
<li class="{% block menu_archiv %}{% endblock %}"><a href="/archiv/cisla/">Archiv</a> <li class="{% block menu_archiv %}{% endblock %}"><a href="/archiv/cisla/">Archiv</a>
<li class="{% block menu_odevzdat %}{% endblock %}"><a href="/odevzdat-reseni/muj-ucet/">Odeslat řešení</a> <li class="{% block menu_odevzdat %}{% endblock %}"><a href="/odevzdat-reseni/muj-ucet/">Odevzdat řešení</a>
</ul> </ul>
{# ======== KONEC MENU =============#} {# ======== KONEC MENU =============#}
</div> </div>

Loading…
Cancel
Save