Changeset 58

Show
Ignore:
Timestamp:
04/09/07 13:27:40 (2 years ago)
Author:
simon
Message:

Some messing around to allow user-defined styles. Fixes #23. Actually it was there all along in Maypole, we just needed to make use of it.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/Memories/Config.pm.example

    r8 r58  
    77 
    88# This is where your templates will live. 
    9 Memories->config->{template_root} = "/home/simon/maypole-sites/memories/templates"; 
     9Memories->config->{template_root} = [ 
     10    "/web/memories/mytemplates/", # User-defined templates 
     11    "/etc/memories/templates/",   # Factory templates 
     12]; 
    1013 
    1114# Here is where uploaded photos will be stored. Your web server user 
  • trunk/templates/header

    r35 r58  
    44    <meta name="robots" content="nofollow"> 
    55    <link title="Maypole" href="[%base%]/static/memories.css" type="text/css" rel="stylesheet"/> 
     6    <link href="[%base%]/static/tagcloud.css" type="text/css" rel="stylesheet"/> 
    67    <link href="[%base%]/static/star_rating.css" type="text/css" rel="stylesheet"/> 
    78    [% IF photos %] 
  • trunk/templates/static/memories.css

    r35 r58  
    22a { text-decoration: none; color: #000; } 
    33p a { font-weight: bold } 
    4 .tagbrowse a { font-weight: bold } 
    54a:hover { text-decoration: underline } 
    65a img { border: 0 } 
     
    87#rhs { background: #fff; height: 100%; width:150px; 
    98padding: 0 5px 0 5px; border-left: 1px dotted black } 
     9 
     10.tagbrowse a { font-weight: bold } 
    1011#suggestionlist { background:#ffd; padding: 10px; margin:10px; 
    1112font-weight: bold; font-family: sans-serif;} 
    1213 
    13 #login { margin-top: 10px; 
    14 font-weight: bold; font-family: sans-serif; background: #eee} 
     14#login { margin-top: 10px; font-weight: bold; font-family: sans-serif; background: #eee} 
    1515.loginfield { font-weight: bold; font-size: 80%; } 
    1616 
     
    9696 
    9797.tagedittagdelete { margin-right: 2em; } 
    98  
    99 span.tagcloud0 { font-size: 9px;} 
    100 span.tagcloud1 { font-size: 10px;} 
    101 span.tagcloud2 { font-size: 10px;} 
    102 span.tagcloud3 { font-size: 11px;} 
    103 span.tagcloud4 { font-size: 11px;} 
    104 span.tagcloud5 { font-size: 12px;} 
    105 span.tagcloud6 { font-size: 12px;} 
    106 span.tagcloud7 { font-size: 13px;} 
    107 span.tagcloud8 { font-size: 13px;} 
    108 span.tagcloud9 { font-size: 14px;} 
    109 span.tagcloud10 { font-size: 14px;} 
    110 span.tagcloud11 { font-size: 15px;} 
    111 span.tagcloud12 { font-size: 15px;} 
    112 span.tagcloud13 { font-size: 16px;} 
    113 span.tagcloud14 { font-size: 16px;} 
    114 span.tagcloud15 { font-size: 17px;} 
    115 span.tagcloud16 { font-size: 17px;} 
    116 span.tagcloud17 { font-size: 18px;} 
    117 span.tagcloud18 { font-size: 18px;} 
    118 span.tagcloud19 { font-size: 19px;} 
    119 span.tagcloud20 { font-size: 19px;} 
    120 span.tagcloud21 { font-size: 20px;} 
    121 span.tagcloud22 { font-size: 20px;} 
    122 span.tagcloud23 { font-size: 21px;} 
    123 span.tagcloud24 { font-size: 21px;} 
    124  
    125 span.tagcloud0 a {text-decoration: none; color: #000;} 
    126 span.tagcloud1 a {text-decoration: none; color: #000;} 
    127 span.tagcloud2 a {text-decoration: none; color: #000;} 
    128 span.tagcloud3 a {text-decoration: none; color: #000;} 
    129 span.tagcloud10 a {text-decoration: none; color: #000;} 
    130 span.tagcloud20 a {text-decoration: none; color: #000;} 
    131 span.tagcloud11 a {text-decoration: none; color: #000;} 
    132 span.tagcloud21 a {text-decoration: none; color: #000;} 
    133 span.tagcloud12 a {text-decoration: none; color: #000;} 
    134 span.tagcloud22 a {text-decoration: none; color: #000;} 
    135 span.tagcloud13 a {text-decoration: none; color: #000;} 
    136 span.tagcloud23 a {text-decoration: none; color: #000;} 
    137 span.tagcloud14 a {text-decoration: none; color: #000;} 
    138 span.tagcloud24 a {text-decoration: none; color: #000;} 
    139 span.tagcloud4 a {text-decoration: none; color: #000;} 
    140 span.tagcloud15 a {text-decoration: none; color: #000;} 
    141 span.tagcloud5 a {text-decoration: none; color: #000;} 
    142 span.tagcloud16 a {text-decoration: none; color: #000;} 
    143 span.tagcloud6 a {text-decoration: none; color: #000;} 
    144 span.tagcloud17 a {text-decoration: none; color: #000;} 
    145 span.tagcloud7 a {text-decoration: none; color: #000;} 
    146 span.tagcloud18 a {text-decoration: none; color: #000;} 
    147 span.tagcloud8 a {text-decoration: none; color: #000;} 
    148 span.tagcloud19 a {text-decoration: none; color: #000;} 
    149 span.tagcloud9 a {text-decoration: none; color: #000;}