]> git.parisson.com Git - telemeta.git/commitdiff
rounding
authoryomguy <yomguy@parisson.com>
Thu, 27 Sep 2012 02:31:26 +0000 (04:31 +0200)
committeryomguy <yomguy@parisson.com>
Thu, 27 Sep 2012 02:31:26 +0000 (04:31 +0200)
telemeta/static/telemeta/css/telemeta.css
telemeta/templates/telemeta/home.html

index f9da6a7aa8de5235b306c60ef6965e25cf9077ec..9bb64b0718c43e292e59167223c2ab78fbc53372 100644 (file)
@@ -908,11 +908,11 @@ img.align-left {
 #module-set .module {
     border: 1px solid #000;
     background-image: url(../images/grid_bg.png);
-    padding: 0.3em 0.8em 0.8em 0.8em;
+    padding: 0.2em;
     margin: 0 0 1.5em 1.5em;
-    -moz-border-radius: 8px 8px 8px 8px;
-    -webkit-border-radius: 8px 8px 8px 8px;
-    border-radius: 8px 8px 8px 8px;
+    -moz-border-radius: 8px 0px 11px 11px;
+    -webkit-border-radius: 8px 0px 11px 11px;
+    border-radius: 11px 0px 11px 11px;
 }
 
 #module-set .module h3 {
@@ -925,6 +925,24 @@ img.align-left {
     text-decoration: none;
 }
 
+#module-set .module div {
+        -moz-border-radius: 8px 0px 8px 8px;
+        -webkit-border-radius: 8px 0px 8px 8px;
+        border-radius: 8px 0px 8px 8px;
+       }
+
+#module-set .module img {
+        -moz-border-radius: 8px 0px 8px 8px;
+        -webkit-border-radius: 8px 0px 8px 8px;
+        border-radius: 8px 0px 8px 8px;
+       }
+
+#module-set .module ul, li {
+        -moz-border-radius: 8px 0px 8px 8px;
+        -webkit-border-radius: 8px 0px 8px 8px;
+        border-radius: 8px 0px 8px 8px;
+       }
+
 a.image-link {
     border: none;
 }
index 8732187b7f9920d2f31901089d39bc1cda4375ac..77a211f02434eae88a7d543c403f4a3f547cf4fb 100644 (file)
 <div id="module" class="module">
     <h3><img src="{{ STATIC_URL }}telemeta/images/module_playlist.png" alt="playlist" style="vertical-align:middle" />
     {% trans "Musical selection" %}</h3>
-    <ul class="playlist">
-    <li><a href="{% url telemeta-item-detail sound_pub_item.public_id %}"><b>{{ sound_pub_item }}</b></a>{% if sound_pub_item.alt_title %} ({{ sound_pub_item.alt_title }}){% endif %}<br /><span style="font-size: 90%">{{ sound_pub_item.location.fullnames|to_string }}</span><br />
-<iframe width='376' height='215' frameborder='0' scrolling='no' marginheight='0' marginwidth='0' src='/archives/items/{{ sound_pub_item.public_id }}/player/362x130/'></iframe>
-    </li>
-    </ul>
+    <div style="background-color: white; align: center; padding: 1em;">
+    <span style="font-size: 80%; "><a href="{% url telemeta-item-detail sound_pub_item.public_id %}"><b>{{ sound_pub_item }}</b></a>{% if sound_pub_item.alt_title %} ({{ sound_pub_item.alt_title }}){% endif %}<br /><span style="font-size: 90%; padding: 1ex;">{{ sound_pub_item.location.fullnames|to_string }}</span></span>
+    <iframe style="margin-top: 1ex;" width='376' height='220' frameborder='0' scrolling='no' marginheight='0' marginwidth='0' src='/archives/items/{{ sound_pub_item.public_id }}/player/362x130/'></iframe>
+
+    </div>
 </div>
 {% endif %}
 
 <div class="module">
     <h3><img src="{{ STATIC_URL }}telemeta/images/module_world.png" alt="world" style="vertical-align:middle" />
     {% trans "Geo Navigator" %}</h3>
+    <div style="background-color: white;" align="center">
     <a class="image-link" href="{% url telemeta-geo-continents %}">
     <img class="map-thumbnail" src="{{ STATIC_URL }}telemeta/images/world2.png" alt="{% trans "Open the geographic navigator" %}" style="width:398px" /></a>
+    </div>
 </div>
 
 {% with "Last changes" as title %}