styles.css 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259
  1. /*
  2. Design by Free Responsive Templates
  3. http://www.free-responsive-templates.com
  4. Released for free under a Creative Commons Attribution 3.0 Unported License (CC BY 3.0)
  5. */
  6. * {
  7. margin:0;
  8. padding:0;
  9. }
  10. body {
  11. font-family: verdana, serif;
  12. font-size:14px;
  13. background: url(../images/siteBackground.jpg);
  14. margin: 0;
  15. padding: 0;
  16. color: rgb(50, 60, 70);
  17. }
  18. a img {
  19. border: none;
  20. }
  21. a:link {
  22. color: #0484c0;
  23. text-decoration: underline;
  24. }
  25. a:visited {
  26. color: #0484c0;
  27. text-decoration: underline;
  28. }
  29. a:hover, a:active, a:focus {
  30. color: #0484c0;
  31. text-decoration: none;
  32. }
  33. h1 {
  34. font-size:30px;
  35. color:#8dc35a;
  36. font-family: verdana, sans-serif;
  37. padding: 0 0 10px 0;
  38. }
  39. h2 {
  40. font-size:24px;
  41. color:#ffffff;
  42. font-family: verdana, sans-serif;
  43. padding: 0 0 10px 0;
  44. text-shadow: 0px 0px, 1px 3px #b8bec0;
  45. }
  46. h3 {
  47. font-size:30px;
  48. color:#677a83;
  49. font-family: verdana, sans-serif;
  50. padding: 0 0 10px 0;
  51. }
  52. p {
  53. line-height:140%;
  54. }
  55. .wrapper {
  56. width:960px;
  57. margin:40px auto;
  58. background: #ffffff;
  59. box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  60. padding-bottom:50px;
  61. }
  62. header {
  63. padding:50px 50px 10px 50px;
  64. }
  65. .logo {
  66. float: left;
  67. /*background: url(../images/logoBackground.png) no-repeat;*/
  68. background: url(../images/huawei-u8150-ideos.jpg) no-repeat;
  69. width: 150px;
  70. height: 123px;
  71. }
  72. .logo h1 a {
  73. text-shadow: 0px 0px, 1px 2px #5b9e11;
  74. font-size:60px;
  75. color: #ffffff;
  76. text-decoration:none;
  77. padding:10px;
  78. line-height:110px;
  79. }
  80. footer {
  81. text-align:center;
  82. padding-bottom:40px
  83. }
  84. .horSeparator {
  85. background:url(../images/horSeparator.png) repeat-x;
  86. height:13px;
  87. margin:20px 0;
  88. }
  89. section {
  90. padding:0 50px;
  91. }
  92. .post {
  93. border-bottom:1px solid rgba(200, 207, 210, 1);
  94. padding:50px 0;
  95. margin:0 50px;
  96. }
  97. .post header {
  98. float:right;
  99. width:519px;
  100. padding:0;
  101. }
  102. .post p {
  103. float:right;
  104. width:519px;
  105. }
  106. .post aside img {
  107. border:1px solid #c8cfd2;
  108. margin:10px 0 0 0;
  109. }
  110. .sectionFooter {
  111. background: #d6d9da;
  112. padding:40px 0;
  113. margin:0 50px;
  114. border-top:1px solid #ffffff;
  115. }
  116. .footerBox {
  117. width:40%;
  118. float:left;
  119. padding:0 40px;
  120. }
  121. .footerBox p {
  122. font-style:italic;
  123. padding:0 0px 10px 0px;
  124. }
  125. .clearfloat {
  126. clear:both;
  127. height:0;
  128. font-size: 1px;
  129. line-height: 0px;
  130. }
  131. /**************************/
  132. /*********************************Begin main menu****************************************/
  133. /**************************/
  134. nav {
  135. float:right;
  136. padding:40px 0 0 0;
  137. }
  138. ul#navlist {
  139. margin-left: 0;
  140. padding-left: 0;
  141. white-space: nowrap;
  142. }
  143. #navlist li {
  144. display: inline;
  145. list-style-type: none;
  146. }
  147. #navlist a {
  148. padding: 3px 10px;
  149. font-family: 'Lobster', sans-serif;
  150. font-size: 36px;
  151. color: #677a83;
  152. }
  153. #navlist a:link, #navlist a:visited {
  154. color: #677a83;
  155. text-decoration: none;
  156. }
  157. #navlist a:hover {
  158. color: #8dc35a;
  159. text-decoration: none;
  160. }
  161. #navlist #active a {
  162. color: #8dc35a;
  163. text-decoration: none;
  164. }
  165. /**************************/
  166. /*********************************End main menu****************************************/
  167. /**************************/
  168. /*********************************Begin Media Queries****************************************/
  169. /**************************/
  170. /* for 980px or less */
  171. @media screen and (max-width: 980px) {
  172. .wrapper {
  173. width: 95%;
  174. }
  175. }
  176. /* for 768px or less */
  177. @media screen and (max-width: 768px) {
  178. h1, h2, h3 {
  179. font-size:24px;
  180. }
  181. header {
  182. padding:20px 50px 0px 50px;
  183. }
  184. .post {
  185. padding:20px 0;
  186. }
  187. .post header, .post p {
  188. width:400px;
  189. }
  190. article aside {
  191. width: 170px;
  192. }
  193. .footerBox {
  194. padding:0 20px;
  195. }
  196. .footerBox p {
  197. padding:0 0 10px 0;
  198. }
  199. #navlist a {
  200. padding: 3px 10px;
  201. font-size: 24px;
  202. }
  203. }
  204. /* for 480px or less */
  205. @media screen and (max-width: 480px) {
  206. .wrapper {
  207. margin-top:10px;
  208. }
  209. header {
  210. padding:10px 10px 0px 10px;
  211. }
  212. .logo {
  213. float:none;
  214. margin:0 auto;
  215. }
  216. nav {
  217. float:none;
  218. padding:5px 0 0 0;
  219. }
  220. #navlist a {
  221. padding: 7px 2px;
  222. font-family: 'Lobster', sans-serif;
  223. font-size: 16px;
  224. color: #677a83;
  225. }
  226. section {
  227. padding:0 10px;
  228. }
  229. article aside {
  230. display:none;
  231. }
  232. .post {
  233. padding:10px 0;
  234. margin:0 10px;
  235. }
  236. .post header, .post p {
  237. width:auto;
  238. float:none;
  239. }
  240. .sectionFooter {
  241. padding:10px 0;
  242. margin:0 10px;
  243. }
  244. .footerBox {
  245. width:auto;
  246. float:none;
  247. padding:10px;
  248. }
  249. }
  250. img {
  251. max-width: 100%;
  252. height: auto;
  253. width: auto;
  254. }
  255. /**************************/
  256. /*********************************End Media Queries****************************************/
  257. /**************************/