Advertisement
Guest User

Untitled

a guest
Apr 20th, 2014
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.12 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang:en>
  3. <head>
  4. <title>MitoGraphics | Branding and Promotions</title>
  5. <link rel="stylesheet" href="main.css">
  6. <link href='http://fonts.googleapis.com/css?family=Noto+Sans|Comfortaa:400,300,700' rel='stylesheet' type='text/css'>
  7. </head>
  8.  
  9. <body>
  10.  
  11. <div>
  12. <section id="navbar">
  13. <ul>
  14.  
  15. <a href ="the_loop.html"><li>The Loop</li></a>
  16. <a href ="working_with_mito.html"><li>Working With Mito</li></a>
  17. <a href ="promotional_solutions.html"><li>Promotional Solutions</li></a>
  18. <a href ="branding_elements.html"><li>Branding Elements</li></a>
  19. </ul>
  20. </section>
  21. </div>
  22.  
  23. <div id="box_one"></div>
  24. <div id="box_two"></div>
  25. <div id="box_three"></div>
  26. <div id="box_four"></div>
  27. <div id="box_five"></div>
  28. <div id="box_six"></div>
  29. <div id="box_seven">
  30. <P>Branding Elements</P>
  31. <div id="box_eight"></div>
  32. <div id="box_nine"></div>
  33. <div id="box_ten"></div>
  34. <div id="box_eleven"></div>
  35. <div id="box_twelve"></div>
  36. <div id="box_thirteen"></div>
  37. <div id="box_fourteen"></div>
  38. <div id="box_fifteen"></div>
  39. <div></div>
  40.  
  41. <footer></footer>
  42.  
  43. </body>
  44.  
  45. </html>
  46.  
  47. /****************************
  48. NAVBAR
  49. ****************************/
  50.  
  51.  
  52.  
  53. #navbar {
  54. background-color: black;
  55. height:40px;
  56. width:1454px;
  57. margin-left: -30px;
  58. margin-top: -16px;
  59. border-bottom: 1px solid #ff0000;
  60.  
  61.  
  62. }
  63.  
  64. #navbar ul {
  65. text-decoration: none;
  66. list-style: none;
  67. }
  68.  
  69. #navbar ul li {
  70. display:inline-block;
  71. float:right;
  72. color:white;
  73. padding-right: 190px;
  74. padding-top: 10px;
  75. font-family: 'Comfortaa', cursive;
  76. font-weight: 10;
  77.  
  78.  
  79. }
  80.  
  81.  
  82. #navbar ul a li:hover {
  83. color:#000;
  84. text-shadow: 0.1em 0.1em #fff;
  85. font-size: 1.1em;
  86. margin-top:-1px;
  87.  
  88. }
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98. /****************************
  99. HOME PAGE LAYOUT
  100. ****************************/
  101.  
  102. #box_one {
  103. height:285px;
  104. width:285px;
  105. border: 1px solid black;
  106. background-color: white;
  107. display:inline-block;
  108. margin-left: -8px;
  109. max-width: 100%
  110.  
  111. }
  112.  
  113. #box_two {
  114. height:285px;
  115. width:285px;
  116. border: 1px solid black;
  117. background-color: white;
  118. display:inline-block;
  119. margin-left: -5px;
  120. max-width: 100%
  121.  
  122. }
  123.  
  124. #box_three {
  125. height:285px;
  126. width:285px;
  127. border: 1px solid black;
  128. background-color: white;
  129. display:inline-block;
  130. display:inline-block;
  131. margin-left: -5px;
  132. max-width: 100%
  133. }
  134.  
  135. #box_four {
  136. height:285px;
  137. width:285px;
  138. border: 1px solid black;
  139. background-color: white;
  140. display:inline-block;
  141. display:inline-block;
  142. margin-left: -5px;
  143. max-width: 100%
  144.  
  145. }
  146.  
  147. #box_five {
  148. height:285px;
  149. width:285px;
  150. border: 1px solid black;
  151. background-color: white;
  152. display:inline-block;
  153. display:inline-block;
  154. margin-left: -5px;
  155. max-width: 100%
  156. }
  157.  
  158. #box_six {
  159. height:285px;
  160. width:285px;
  161. border: 1px solid black;
  162. background-color: white;
  163. display:inline-block;
  164. margin-left: -8px;
  165. max-width: 100%;
  166. }
  167.  
  168. #box_seven {
  169. height:285px;
  170. width:285px;
  171. border: 1px solid black;
  172. background-color: #6666cc;
  173. display:inline-block;
  174. margin-left: -5px;
  175. max-width: 100%
  176.  
  177. }
  178.  
  179. .elementbox {
  180.  
  181. }
  182.  
  183.  
  184.  
  185. #box_eight {
  186. height:285px;
  187. width:285px;
  188. border: 1px solid black;
  189. background-color: white;
  190. display:inline-block;
  191. margin-left: -5px;
  192. max-width: 100%
  193.  
  194. }
  195.  
  196.  
  197. #box_nine {
  198. height:285px;
  199. width:285px;
  200. border: 1px solid black;
  201. background-color: white;
  202. display:inline-block;
  203. margin-left: -5px;
  204. max-width: 100%
  205.  
  206. }
  207.  
  208. #box_ten {
  209. height:285px;
  210. width:285px;
  211. border: 1px solid black;
  212. background-color: white;
  213. display:inline-block;
  214. margin-left: -5px;
  215. max-width: 100%
  216. }
  217.  
  218. #box_eleven {
  219. height:285px;
  220. width:285px;
  221. border: 1px solid black;
  222. background-color: white;
  223. display:inline-block;
  224. max-width: 100%;
  225. margin-left: -8px;
  226. }
  227.  
  228. #box_twelve {
  229. height:285px;
  230. width:285px;
  231. border: 1px solid black;
  232. background-color: white;
  233. display:inline-block;
  234. max-width: 100%;
  235. margin-left: -5px;
  236. }
  237.  
  238. #box_thirteen {
  239. height:285px;
  240. width:285px;
  241. border: 1px solid black;
  242. background-color: white;
  243. display:inline-block;
  244. max-width: 100%;
  245. margin-left: -5px;
  246. }
  247.  
  248.  
  249. #box_fourteen {
  250. height:285px;
  251. width:285px;
  252. border: 1px solid black;
  253. background-color: white;
  254. display:inline-block;
  255. max-width: 100%;
  256. margin-left: -5px;
  257. }
  258.  
  259. #box_fifteen {
  260. height:285px;
  261. width:285px;
  262. border: 1px solid black;
  263. background-color: white;
  264. display:inline-block;
  265. margin-left: -5px;
  266. max-width: 100%
  267. }
  268.  
  269. <div>
  270. Header
  271. </div>
  272.  
  273. <div class="section group">
  274. <div class="col span_1_of_2">
  275. This is column 1
  276. </div>
  277. <div class="col span_1_of_2">
  278. This is column 2
  279. </div>
  280. </div>
  281. <div class="section group">
  282. <div class="col span_1_of_2">
  283. This is column 1
  284. </div>
  285. <div class="col span_1_of_2">
  286. This is column 2
  287. </div>
  288. </div>
  289. <div class="section group">
  290. <div class="col span_1_of_2">
  291. This is column 1
  292. </div>
  293. <div class="col span_1_of_2">
  294. This is column 2
  295. </div>
  296. </div>
  297.  
  298. <div>
  299. footer
  300. </div>
  301.  
  302. .span_2_of_2 {
  303. width: 100%;
  304. }
  305.  
  306. .span_1_of_2 {
  307. width: 49.2%;
  308. }
  309.  
  310. /* GO FULL WIDTH AT LESS THAN 480 PIXELS */
  311.  
  312. @media only screen and (max-width: 480px) {
  313. .span_2_of_2 {
  314. width: 100%;
  315. }
  316. .span_1_of_2 {
  317. width: 100%;
  318. }
  319. }
  320. .section {
  321. clear: both;
  322. padding: 0px;
  323. margin: 0px;
  324. }
  325.  
  326. /* COLUMN SETUP */
  327. .col {
  328. display: block;
  329. float:left;
  330. margin: 1% 0 1% 1.6%;
  331. }
  332. .col:first-child { margin-left: 0; }
  333.  
  334.  
  335. /* GROUPING */
  336. .group:before,
  337. .group:after {
  338. content:"";
  339. display:table;
  340. }
  341. .group:after {
  342. clear:both;
  343. }
  344. .group {
  345. zoom:1; /* For IE 6/7 */
  346. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement