diff options
Diffstat (limited to 'themes/baggy')
-rwxr-xr-x | themes/baggy/css/main.css | 29 | ||||
-rwxr-xr-x | themes/baggy/edit-tags.twig | 2 |
2 files changed, 30 insertions, 1 deletions
diff --git a/themes/baggy/css/main.css b/themes/baggy/css/main.css index 5319fd68..91c1ab9f 100755 --- a/themes/baggy/css/main.css +++ b/themes/baggy/css/main.css | |||
@@ -960,6 +960,35 @@ pre code { | |||
960 | font-size: 0.96em; | 960 | font-size: 0.96em; |
961 | } | 961 | } |
962 | 962 | ||
963 | /* ========================================================================== | ||
964 | 5.1 = Tags-related styles | ||
965 | ========================================================================== */ | ||
966 | |||
967 | .suggestedtag { | ||
968 | padding: 4px; | ||
969 | cursor: pointer; | ||
970 | display: inline-block; | ||
971 | } | ||
972 | |||
973 | #tagcloud .smallesttag { | ||
974 | font-size: x-small; | ||
975 | } | ||
976 | |||
977 | #tagcloud .smalltag { | ||
978 | font-size: small; | ||
979 | } | ||
980 | |||
981 | #tagcloud .mediumtag { | ||
982 | font-size:medium; | ||
983 | } | ||
984 | |||
985 | #tagcloud .largetag { | ||
986 | font-size:large; | ||
987 | } | ||
988 | |||
989 | #tagcloud .largesttag { | ||
990 | font-size:larger; | ||
991 | } | ||
963 | 992 | ||
964 | /* ========================================================================== | 993 | /* ========================================================================== |
965 | 6 = Media Queries | 994 | 6 = Media Queries |
diff --git a/themes/baggy/edit-tags.twig b/themes/baggy/edit-tags.twig index ae6684f2..3b829eae 100755 --- a/themes/baggy/edit-tags.twig +++ b/themes/baggy/edit-tags.twig | |||
@@ -26,6 +26,6 @@ | |||
26 | {% trans "You can enter multiple tags, separated by commas." %}</p> | 26 | {% trans "You can enter multiple tags, separated by commas." %}</p> |
27 | </form> | 27 | </form> |
28 | All existing tags : | 28 | All existing tags : |
29 | <ul>{% for eachtag in alltags %}<li class="suggestedtag" style="display: inline-block; margin:10px;">{{ eachtag.value }}</li>{% endfor %}</ul> | 29 | <ul id="tagcloud">{% for eachtag in alltags %}<li class="suggestedtag {{ eachtag.cssclass }}">{{ eachtag.value }}</li>{% endfor %}</ul> |
30 | <a class="icon icon-reply return" href="./?view=view&id={{ entry_id }}">{% trans "return to article" %}</a> | 30 | <a class="icon icon-reply return" href="./?view=view&id={{ entry_id }}">{% trans "return to article" %}</a> |
31 | {% endblock %} | 31 | {% endblock %} |