1. Shlomi Fish
  2. shlomi-fish-homepage

Commits

shl...@iglu.org.il@cec68495-dca5-4e2b-845c-11fdaaa4f967  committed 7f390bb

Styled the graphics' designs a little better.

  • Participants
  • Parent commits e106e35
  • Branches default

Comments (0)

Files changed (1)

File lib/common-style.css.ttml

View file
 {
    float:right;
 }
+[% BLOCK set_radius %]
+
+[% FOREACH prop IN ["-moz-border-radius", "-webkit-border-radius", "border-radius"] %]
+[% prop _ ":" _ border_radius _ ";" %]
+[% END %]
+
+[% END %]
+
 [% sect_m _ ", " _ sect_m _ ":hover" %]
 {
     padding: 0.2em 0.5em;
     [% SET border_radius = "5px" %]
-    [% FOREACH prop IN ["-moz-border-radius", "-webkit-border-radius", "border-radius"] %]
-    [% prop _ ":" _ border_radius _ ";" %]
-    [% END %]
+    [% INCLUDE set_radius %]
     border: 2pt solid black;
 }
 
     font-style: italic;
     color: brown;
 }
+
+/* Graphic Designs on /art/ */
+[% SET g = ".graphic_designs .design" %]
+
+[% g %]
+{
+    border: 2pt solid black;
+    padding: 1em;
+    margin-bottom: 1em;
+    [% SET border_radius = "5px" %]
+    [% INCLUDE set_radius %]
+}
+
+[% g %]:hover
+{
+    border-color: grey;
+}