css-team: correct list commands
git-svn-id: svn+ssh://atelier.inf.usi.ch/home/bevilj/group-1@66 a672b425-5310-4d7a-af5c-997e18724b81
This commit is contained in:
parent
007666369d
commit
c9cd408ead
5 changed files with 8 additions and 8 deletions
site
|
@ -11,7 +11,7 @@ layout: main
|
|||
{{ content }}
|
||||
<ol>
|
||||
{% for item in site.pages %}
|
||||
{% if item.category == page.category and item.layout != "topic" %}
|
||||
{% if item.category-page == page.category-page and item.layout != "topic" %}
|
||||
<li class="list-commands"><a href="{{ item.url }}">{{ item.title }}</a></li>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
ol {
|
||||
list-style: none;
|
||||
counter-reset: command;
|
||||
background-color: #bdbdbd;
|
||||
border-radius: 50px;
|
||||
width: 50%;
|
||||
}
|
||||
|
||||
.list-commands {
|
||||
border-radius: 50px;
|
||||
background-color: #bdbdbd;
|
||||
counter-increment: command;
|
||||
margin-bottom: 5px;
|
||||
|
||||
|
@ -32,7 +32,7 @@ ol {
|
|||
display: inline-block;
|
||||
}
|
||||
|
||||
ol:hover{
|
||||
.list-commands:hover{
|
||||
background-color: #646464;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
layout: topic
|
||||
category: advanced
|
||||
category-page: advanced
|
||||
title: Advanced Commands
|
||||
---
|
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
layout: topic
|
||||
category: basic
|
||||
category-page: basic
|
||||
title: Basic Commands
|
||||
---
|
||||
|
||||
<p class="boh">Here we will learn some basic commands...</p>
|
||||
<p>Here we will learn some basic commands...</p>
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
layout: topic
|
||||
category: intermediate
|
||||
category-page: intermediate
|
||||
title: Intermediate Commands
|
||||
---
|
Loading…
Reference in a new issue