Commit | Line | Data |
---|---|---|
e586807d H |
1 | {include file="modules/header.tpl"} |
2 | ||
3 | ||
4 | <br><br><br> | |
5 | ||
6 | {assign var="cislo" value="450"} | |
7 | ||
8 | <div style="margin-left:100px; background:#555; height:{$cislo}px; width:{math equation="((sqrt(5) + 1)/2)*x" x=$cislo}px; position: relative;"> | |
9 | <div style="width:{$cislo}px; height:{$cislo}px; background:#111; float:left;"></div> | |
10 | <div style="width:{math equation="(((sqrt(5) + 1)/2)*x) - x" x=$cislo}px; height:{math equation="(((sqrt(5) + 1)/2)*x) - x" x=$cislo}px; background:#222; float:right;"></div> | |
11 | <div style="width:{math equation="x - ((((sqrt(5) + 1)/2)*x) - x)" x=$cislo}px; height:{math equation="x - ((((sqrt(5) + 1)/2)*x) - x)" x=$cislo}px; background:#333; float:right;"></div> | |
12 | <div style="width:{math equation="((((sqrt(5) + 1)/2)*x) - x) - (x - ((((sqrt(5) + 1)/2)*x) - x))" x=$cislo}px; height:{math equation="((((sqrt(5) + 1)/2)*x) - x) - (x - ((((sqrt(5) + 1)/2)*x) - x))" x=$cislo}px; background:#444; position:absolute; top: {math equation="x - (((((sqrt(5) + 1)/2)*x) - x) - (x - ((((sqrt(5) + 1)/2)*x) - x)))" x=$cislo}px; left:{$cislo}px;"></div> | |
13 | </div> | |
14 | ||
15 | <br><br> | |
16 | ||
17 | ||
b42b2bf9 | 18 | <b><a href='/id/1602860/14'>source</a>::</b><br> |
e586807d H |
19 | {literal} |
20 | ||
21 | {assign var="cislo" value="450"}<br> | |
22 | <br> | |
23 | <div style="margin-left:100px; background:#555; height:{$cislo}px; width:{math equation="((sqrt(5) + 1)/2)*x" x=$cislo}px; position: relative;"> | |
24 | <br> <div style="width:{$cislo}px; height:{$cislo}px; background:#111; float:left;"></div> | |
25 | <br> <div style="width:{math equation="(((sqrt(5) + 1)/2)*x) - x" x=$cislo}px; height:{math equation="(((sqrt(5) + 1)/2)*x) - x" x=$cislo}px; background:#222; float:right;"></div> | |
26 | <br> <div style="width:{math equation="x - ((((sqrt(5) + 1)/2)*x) - x)" x=$cislo}px; height:{math equation="x - ((((sqrt(5) + 1)/2)*x) - x)" x=$cislo}px; background:#333; float:right;"></div> | |
27 | <br> <div style="width:{math equation="((((sqrt(5) + 1)/2)*x) - x) - (x - ((((sqrt(5) + 1)/2)*x) - x))" x=$cislo}px; height:{math equation="((((sqrt(5) + 1)/2)*x) - x) - (x - ((((sqrt(5) + 1)/2)*x) - x))" x=$cislo}px; background:#444; position:absolute; top: {math equation="x - (((((sqrt(5) + 1)/2)*x) - x) - (x - ((((sqrt(5) + 1)/2)*x) - x)))" x=$cislo}px; left:{$cislo}px;"></div><br> | |
28 | </div> | |
29 | ||
30 | {/literal} | |
31 | ||
32 | ||
33 |