Advertisement
phirani

CSS Stylesheet

Nov 4th, 2014
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.39 KB | None | 0 0
  1. body{
  2.  
  3. background-image: url('bg.PNG');
  4. color: #000345;
  5. font-size: 87.5%;
  6. font-family: Arial, 'Lucida Sans Unicode':
  7. line-height: 1.5:
  8. text-align: left;
  9. }
  10.  
  11. a {
  12. text-decoration: none;
  13. }
  14. a:link, a:visited{
  15. color: #CF5C3F;
  16. }
  17.  
  18. a:hover, a:active{
  19. background-color: #CF5C3F;
  20. color: #FFF;
  21. }
  22.  
  23. .body{
  24. margin: 0 auto:
  25. width: 70%;
  26. clear: both;
  27. }
  28.  
  29. .mainheader img {
  30. width: 30%;
  31. height: auto;
  32. margin: 2% 0;
  33. }
  34.  
  35. .mainheader nav {
  36. background-color: #666;
  37. height: 40px;
  38. border-radius: 5px;
  39. -moz-border-radius: 5px;
  40. -webkit-border-radius: 5px;
  41. }
  42.  
  43. .mainHeader nav ul{
  44.  
  45. list-style: none;
  46. margin: 0 auto:
  47. }
  48.  
  49. .mainHeader nav ul li {
  50. float: left;
  51. display: inline;
  52.  
  53. }
  54.  
  55. .mainHeader nav a:link, .mainHeader nav a:visited {
  56.  
  57. color:#FFF;
  58. display: inline-block;
  59. padding: 10px 25px;
  60. height: 20px;
  61. }
  62.  
  63. .mainHeader nav a:hover, .mainHeader nav a:active,
  64. .mainHeader nav .active a:link, .mainHeader nav .active a:visited {
  65. background-color: #CF5C3F;
  66. text-shadow: none;
  67. }
  68. .mainHeader nav ul li a {
  69. border-radius: 5px;
  70. -moz-border-radius: 5px;
  71. -webkit-border-radius: 5px;
  72. }
  73.  
  74. .mainContent{
  75. line-height: 25px;
  76. border-radius: 5px;
  77. -moz-border-radius: 5px;
  78. -webkit-border-radius: 5px;
  79. word-wrap: break-word;
  80.  
  81. }
  82.  
  83.  
  84. .content{
  85. width: 70%;
  86. float: left;
  87. }
  88.  
  89. .topcontent {
  90. background-color: #FFF;
  91. border-radius: 5px;
  92. -moz-border-radius: 5px;
  93. -webkit-border-radius: 5px;
  94. padding: 3% 5%;
  95. margin-top: 2%;
  96. word-wrap: break-word;
  97. }
  98.  
  99. .bottomcontent {
  100. background-color: #FFF;
  101. border-radius: 5px;
  102. -moz-border-radius: 5px;
  103. -webkit-border-radius: 5px;
  104. padding: 3% 5%;
  105. margin-top: 2%;
  106. word-wrap: break-word;
  107. }
  108.  
  109. .top-sidebar {
  110.  
  111. width: 21%;
  112. float: left;
  113. background-color: #FFF;
  114. border-radius: 5px;
  115. -moz-border-radius: 5px;
  116. -webkit-border-radius: 5px;
  117.  
  118. margin: 1.5% 0% 2% 3%;
  119. padding: 2% 3%;
  120. word-wrap: break-word;
  121.  
  122. }
  123.  
  124. .middle-sidebar {
  125. width: 21%;
  126. float: left;
  127. background-color: #FFF;
  128. border-radius: 5px;
  129. -moz-border-radius: 5px;
  130. -webkit-border-radius: 5px;
  131. margin-left: 3%;
  132. margin-bottom: 2%;
  133. padding: 2% 3%;
  134. word-wrap: break-word;
  135. }
  136.  
  137. .bottom-sidebar {
  138. width: 21%;
  139. float: left;
  140. background-color: #FFF;
  141. border-radius: 5px;
  142. -moz-border-radius: 5px;
  143. -webkit-border-radius: 5px;
  144. margin-left: 3%;
  145. margin-bottom: 2%;
  146. padding: 2% 3%;
  147. word-wrap: break-word;
  148. }
  149. .mainFooter {
  150. width: 100%;
  151. float: left;
  152. border-radius: 5px;
  153. -moz-border-radius: 5px;
  154. -webkit-border-radius: 5px;
  155. background-color: #666;
  156. margin: 2% 0%;
  157. }
  158.  
  159. .mainFooter p {
  160. width: 92%;
  161. margin: 10px auto;
  162. color: #FFF;
  163. }
  164.  
  165. @media only screen and (min-width: 150px) and (max-width: 600px)
  166. {
  167.  
  168. .body{
  169.  
  170. width: 90%;
  171. font-size: 95%;
  172.  
  173. }
  174.  
  175. .mainheader img {
  176. width: 100%;
  177.  
  178. }
  179.  
  180. .mainheader nav {
  181.  
  182. height: 160px;
  183.  
  184. }
  185.  
  186. .mainHeader nav ul{
  187.  
  188. padding-left: 0
  189. }
  190.  
  191. .mainHeader nav ul li {
  192. width: 100%;
  193. text-align: center;
  194.  
  195. }
  196.  
  197. .mainHeader nav a:link, .mainHeader nav a:visited {
  198.  
  199.  
  200. padding: 10px 25px;
  201. height: 20px;
  202. display: block;
  203. }
  204.  
  205.  
  206.  
  207.  
  208. .content{
  209. width: 100%;
  210. float: left;
  211. margin-top: 2%;
  212. }
  213.  
  214. .post-info {
  215. display: none;
  216. }
  217.  
  218. .topcontent {
  219. background-color: #FFF;
  220. border-radius: 5px;
  221. -moz-border-radius: 5px;
  222. -webkit-border-radius: 5px;
  223. padding: 3% 5%;
  224. margin-top: 2%;
  225. margin-bottom: 4%;
  226. }
  227.  
  228. .bottomcontent {
  229.  
  230. margin-top: 3%;
  231. }
  232.  
  233.  
  234. .top-sidebar, .middle-sidebar, .bottom-sidebar {
  235.  
  236. width: 94%;
  237. margin: 1.5% 0% 2% 0%;
  238. padding: 2% 3%;
  239.  
  240. }
  241.  
  242.  
  243. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement