Commit 02bfc940c7e1dee9d4967b2804b7a0c540d760c0
1 parent
cdaefc85
Exists in
master
and in
3 other branches
cloud is now colorful and functional, added text
Showing
3 changed files
with
25 additions
and
7 deletions
Show diff stats
amadeus/static/css/base/amadeus.css
@@ -18,7 +18,7 @@ a:focus { | @@ -18,7 +18,7 @@ a:focus { | ||
18 | /* Initial page starts */ | 18 | /* Initial page starts */ |
19 | .users-cloud { | 19 | .users-cloud { |
20 | 20 | ||
21 | - width: 80%; | 21 | + width: 100%; |
22 | height: 300px; | 22 | height: 300px; |
23 | overflow: hidden; | 23 | overflow: hidden; |
24 | } | 24 | } |
@@ -27,20 +27,36 @@ a:focus { | @@ -27,20 +27,36 @@ a:focus { | ||
27 | display: inline; | 27 | display: inline; |
28 | } | 28 | } |
29 | 29 | ||
30 | -.users-cloud li:nth-of-type(3n + 1) { | 30 | +.users-cloud li:nth-of-type(3n + 1) a { |
31 | font-size: 2.25em; | 31 | font-size: 2.25em; |
32 | + color: #2E8B57; | ||
32 | } | 33 | } |
33 | -.users-cloud li:nth-of-type(4n+3) { | 34 | +.users-cloud li:nth-of-type(4n+3) a { |
34 | font-size: 3.5em; | 35 | font-size: 3.5em; |
36 | + color: #6B8E23; | ||
35 | } | 37 | } |
36 | -.users-cloud li:nth-of-type(5n - 3) { | 38 | + |
39 | +.users-cloud li:nth-of-type(5n - 3) a { | ||
37 | font-size: 3em; | 40 | font-size: 3em; |
41 | + color: #66CDAA; | ||
42 | +} | ||
43 | + | ||
44 | +.users-cloud li:nth-of-type(6n - 3) a { | ||
45 | + font-size: 1.7em; | ||
46 | + color: #654321; | ||
47 | +} | ||
48 | +.users-cloud a { | ||
49 | + text-decoration: none; | ||
50 | +} | ||
51 | + | ||
52 | +#search-results-title{ | ||
53 | + color: #BDBDBD; | ||
38 | } | 54 | } |
39 | 55 | ||
40 | .div-users-cloud{ | 56 | .div-users-cloud{ |
41 | height: 300px; | 57 | height: 300px; |
42 | - margin-left: 20%; | ||
43 | - width: 70%; | 58 | + margin-left: 10%; |
59 | + width: 80%; | ||
44 | } | 60 | } |
45 | 61 | ||
46 | .my-subjects-title { | 62 | .my-subjects-title { |
subjects/templates/subjects/initial.html
@@ -19,7 +19,7 @@ | @@ -19,7 +19,7 @@ | ||
19 | <div class="users-cloud div-users-cloud"> | 19 | <div class="users-cloud div-users-cloud"> |
20 | <ul class=" users-cloud"> | 20 | <ul class=" users-cloud"> |
21 | {% for tag in tags %} | 21 | {% for tag in tags %} |
22 | - <a href="{% url 'subjects:search' %}?search={{tag.name}}"><li>{{tag.name}}</li></a> | 22 | + <li><a href="{% url 'subjects:search' %}?search={{tag.name}}">{{tag.name}}</a></li> |
23 | {% endfor %} | 23 | {% endfor %} |
24 | </ul> | 24 | </ul> |
25 | </div> | 25 | </div> |
subjects/templates/subjects/list_search.html