Page79
From 2010.igem.org
(Difference between revisions)
Line 91: | Line 91: | ||
/* Calendar Coding */ | /* Calendar Coding */ | ||
- | + | /* div for the calendar markup - text must be centered */ | |
- | { | + | div#calendar { |
- | + | margin : 0 auto; | |
+ | padding : 10px; | ||
+ | text-align : center; | ||
+ | width : 21em; | ||
+ | border : 1px solid #ccc; | ||
} | } | ||
- | + | /* calendar heading color */ | |
- | { | + | h2.calendar { |
- | + | color : #656565; | |
+ | font-weight : normal; | ||
} | } | ||
- | + | /* list info - monospace font must be used */ | |
- | { | + | ul#days, ul.weeks { |
- | + | font-family : 'courier new', monospace; | |
+ | list-style-type : none; | ||
+ | margin : 20px 0 20px 0; | ||
} | } | ||
- | + | /* day-box span styles - adjust with padding */ | |
- | { | + | ul#days li span { |
- | + | background-color : #a5a5a5; | |
+ | border : 1px solid #000; | ||
+ | cursor : help; | ||
+ | font-weight : bold; | ||
+ | color : #ffffff; | ||
+ | padding : 5px; | ||
} | } | ||
- | + | /* active links boxes default state - adjust with padding */ | |
- | { | + | ul.weeks li a.al, ul.weeks li a.na { |
- | + | color : #fff200; | |
+ | text-decoration : none; | ||
+ | background-color : #3b3b3b; | ||
+ | border : 1px solid #000000; | ||
+ | padding : 5px; | ||
} | } | ||
- | + | /* all states of not-used links */ | |
- | { | + | ul.weeks li a.na, ul.weeks li a.na:hover, ul.weeks li a.na:focus, ul.weeks li a.na:active { |
- | + | background : transparent; | |
+ | color : #000000; | ||
} | } | ||
- | + | /* hover and focus state of active links */ | |
- | { | + | ul.weeks li a.al:hover, ul.weeks li a.al:focus, ul.weeks li a.al:active { |
- | + | color : #000; | |
+ | background-color : #fff200; | ||
+ | border : 1px solid #000; | ||
+ | text-decoration : none; | ||
} | } | ||
- | + | /* not used link boxes - color and background should match - adjust with padding */ | |
- | { | + | ul.weeks li a.nu { |
- | color:# | + | color : #a5a5a5; |
+ | padding : 5px; | ||
+ | border : 1px solid #000000; | ||
+ | background-color : #a5a5a5; | ||
} | } | ||
- | + | /* to hide link separators */ | |
- | { | + | span.sep { |
- | + | display : none; | |
} | } | ||
- | + | /* this needs to be in conditional comment for IE only */ | |
- | + | div#calendar { | |
- | + | font-size : 0.9em; | |
- | + | letter-spacing : 0.001em; | |
- | + | ||
- | # | + | |
- | { | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
Line 184: | Line 188: | ||
<div id="calendar"> | <div id="calendar"> | ||
+ | <h2 class="calendar">May, 2010</h2> | ||
+ | <ul id="days"> | ||
+ | <li> | ||
+ | <span title="Sunday">Su</span> <span class="sep">|</span> | ||
+ | <span title="Monday">Mo</span> <span class="sep">|</span> | ||
+ | <span title="Tuesday">Tu</span> <span class="sep">|</span> | ||
+ | <span title="Wednesday">We</span> <span class="sep">|</span> | ||
+ | <span title="Thursday">Th</span> <span class="sep">|</span> | ||
+ | <span title="Friday">Fr</span> <span class="sep">|</span> | ||
+ | <span title="Saturday">Sa</span> | ||
+ | </li> | ||
+ | </ul> | ||
+ | <!-- On links Below: NU = Not Used; NA = Not Active; AL = Active Link --> | ||
+ | <ul class="weeks"> | ||
+ | <li> | ||
- | < | + | <a class="nu" href="#" title="">--</a> <span class="sep">|</span> |
- | + | <a class="nu" href="#" title="">--</a> <span class="sep">|</span> | |
- | + | <a class="nu" href="#" title="">--</a> <span class="sep">|</span> | |
- | + | <a class="nu" href="#" title="">--</a> <span class="sep">|</span> | |
- | + | <a class="nu" href="#" title="">--</a> <span class="sep">|</span> | |
- | + | <a class="nu" href="#" title="">--</a> <span class="sep">|</span> | |
- | + | <a class="na" href="#" title="">01</a> | |
- | + | ||
- | + | </li> | |
- | + | </ul> | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | </ul> | + | <ul class="weeks"> |
+ | <li> | ||
+ | <a class="na" href="#" title="">02</a> <span class="sep">|</span> | ||
+ | <a class="na" href="#" title="">03</a> <span class="sep">|</span> | ||
+ | <a class="na" href="#" title="">04</a> <span class="sep">|</span> | ||
+ | <a class="na" href="#" title="">05</a> <span class="sep">|</span> | ||
+ | <a class="na" href="#" title="">06</a> <span class="sep">|</span> | ||
+ | <a class="na" href="#" title="">07</a> <span class="sep">|</span> | ||
+ | <a class="na" href="#" title="">08</a> | ||
+ | </li> | ||
+ | </ul> | ||
+ | <ul class="weeks"> | ||
+ | <li> | ||
+ | <a class="na" href="#" title="">09</a> <span class="sep">|</span> | ||
+ | <a class="na" href="#" title="">10</a> <span class="sep">|</span> | ||
+ | <a class="na" href="#" title="">11</a> <span class="sep">|</span> | ||
+ | <a class="na" href="#" title="">12</a> <span class="sep">|</span> | ||
+ | <a class="na" href="#" title="">13</a> <span class="sep">|</span> | ||
+ | <a class="na" href="#" title="">14</a> <span class="sep">|</span> | ||
+ | <a class="na" href="#" title="">15</a> | ||
+ | </li> | ||
+ | </ul> | ||
+ | <ul class="weeks"> | ||
+ | <li> | ||
+ | <a class="na" href="#" title="">16</a> <span class="sep">|</span> | ||
+ | <a class="na" href="#" title="">17</a> <span class="sep">|</span> | ||
+ | <a class="na" href="#" title="">18</a> <span class="sep">|</span> | ||
+ | <a class="na" href="#" title="">19</a> <span class="sep">|</span> | ||
+ | <a class="na" href="#" title="">20</a> <span class="sep">|</span> | ||
+ | <a class="na" href="#" title="">21</a> <span class="sep">|</span> | ||
+ | <a class="na" href="#" title="">22</a> | ||
+ | </li> | ||
+ | </ul> | ||
+ | <ul class="weeks"> | ||
+ | <li> | ||
+ | <a class="na" href="#" title="">23</a> <span class="sep">|</span> | ||
+ | <a class="na" href="#" title="">24</a> <span class="sep">|</span> | ||
+ | <a class="na" href="#" title="">25</a> <span class="sep">|</span> | ||
+ | <a class="na" href="#" title="">26</a> <span class="sep">|</span> | ||
+ | <a class="al" href="#" title="">27</a> <span class="sep">|</span> | ||
+ | <a class="na" href="#" title="">28</a> <span class="sep">|</span> | ||
+ | <a class="na" href="#" title="">29</a> | ||
+ | </li> | ||
+ | </ul> | ||
+ | <ul class="weeks"> | ||
+ | <li> | ||
+ | <a class="na" href="#" title="">30</a> <span class="sep">|</span> | ||
+ | <a class="na" href="#" title="">31</a> <span class="sep">|</span> | ||
+ | <a class="nu" href="#" title="">--</a> <span class="sep">|</span> | ||
+ | <a class="nu" href="#" title="">--</a> <span class="sep">|</span> | ||
+ | <a class="nu" href="#" title="">--</a> <span class="sep">|</span> | ||
+ | <a class="nu" href="#" title="">--</a> <span class="sep">|</span> | ||
+ | <a class="nu" href="#" title="">--</a> | ||
</div> | </div> | ||
Revision as of 23:09, 4 July 2010
genomikon
May, 2010
- Su | Mo | Tu | We | Th | Fr | Sa