Advertisement
DnS_PRODUCTS

Flat Theme CSS

Apr 29th, 2018
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 4.03 KB | None | 0 0
  1.  
  2.  
  3. @font-face {
  4.     font-family: "Roboto";
  5.     font-style: normal;
  6.     font-weight: 300;
  7.     src: url('../font/Roboto-Light.ttf');
  8. }
  9.  
  10. @font-face {
  11.     font-family: "Roboto";
  12.     font-style: normal;
  13.     font-weight: 400;
  14.     src: url('../font/Roboto-Regular.ttf');
  15. }
  16.  
  17. @font-face {
  18.     font-family: "Roboto";
  19.     font-style: normal;
  20.     font-weight: 500;
  21.     src: url('../font/Roboto-Medium.ttf');
  22. }
  23.  
  24.  
  25. *, *::before, *::after {
  26.     -webkit-box-sizing: border-box;
  27.     -moz-box-sizing: border-box;
  28.     box-sizing: border-box;
  29. }
  30.  
  31. html, body {
  32.     margin: 0;
  33.     padding: 0;
  34. }
  35.  
  36. body {
  37.     background: #eff3f6;
  38.     overflow-y: scroll;
  39.     color: #888;
  40.     line-height: 1.5;
  41.     font-size: 15px;
  42.     font-family: "Roboto", Arial, Tahoma, sans-serif;
  43. }
  44.  
  45. img {
  46.     overflow: hidden;
  47.     max-width: 100%;
  48. }
  49.  
  50. strong {
  51.     font-weight: 500;
  52.     color: #555;
  53. }
  54.  
  55. h1 {
  56.     font-size: 26px;
  57.     font-weight: 400;
  58.     color: #444;
  59.     margin: -10px 0px 8px;
  60.     padding-bottom: 14px;
  61. }
  62.  
  63. h2 {
  64.     font-size: 24px;
  65.     font-weight: 400;
  66.     color: #555;
  67.     margin: -10px 0px 8px;
  68.     padding-bottom: 14px;
  69. }
  70.  
  71. h3 {
  72.     font-weight: 300;
  73.     font-size: 22px;
  74.     color: #555;
  75.     margin: -10px 0px 5px;
  76.     padding-bottom: 7px;
  77. }
  78.  
  79. a:link,
  80. a:visited {
  81.     text-decoration: none;
  82.     color: #25aae3;
  83.     transition: all .2s ease 0s;
  84.     -webkit-transition: all .2s ease 0s;
  85.     -moz-transition: all .2s ease 0s;
  86. }
  87.  
  88. .wrapper {
  89.     margin: auto auto;
  90.     max-width: 1170px;
  91. }
  92.  
  93. .white-box {
  94.     background: #fff;
  95.     border: 1px solid #e3e3e3;
  96.     padding: 25px 22px;
  97.     margin-bottom: 15px;
  98. }
  99.  
  100. .recommend-button,
  101. .support-button {
  102.     display: inline-block;
  103.     float: left;
  104.     margin: 1px 0 0 13px;
  105. }
  106.  
  107. .recommend-button a,
  108. .support-button a {
  109.     background: #03a9f4;
  110.     color: #fff;
  111.     text-align: center;
  112.     font-weight: 500;
  113.     border-radius: 2px;
  114.     padding: 8px 20px 7px 18px;
  115. }
  116.  
  117. .recommend-button a:hover,
  118. .support-button a:hover {
  119.     background: #2196f3;
  120. }
  121.  
  122. .left { float: left; }
  123. .right { float: right; }
  124.    
  125. #navigation {
  126.     position: fixed;
  127.     width: 100%;
  128.     height: 64px;
  129.     line-height: 64px;
  130.     box-shadow: 0 1px 3px 0 rgba(0, 0, 0, .17);
  131.     z-index: 500;
  132.     top: 0;
  133.     padding: 0 15px;
  134.     overflow: hidden;
  135.     background: rgba(255, 255, 255, 1);
  136. }
  137.  
  138. #navigation ul {
  139.     overflow: hidden;
  140.     float: right;
  141.     margin: 0;
  142.     padding: 0;
  143.     list-style-type: none;
  144. }
  145.  
  146. #navigation li {
  147.     float: left;
  148. }
  149.  
  150. #navigation li a {
  151.     padding: 0 55px 0px 0px;
  152.     display: block;
  153.     color: #aaa;
  154.     font-family: "Roboto", Arial, Helvetica, sans-serif;
  155.     font-size: 15px;
  156.     text-align: center;
  157.     text-decoration: none;
  158. }
  159.  
  160. #navigation li:first-child {
  161.     padding-left: 0;
  162. }
  163.    
  164. #navigation li:last-child {
  165.     margin-right: -1em;
  166. }
  167.  
  168. #navigation ul li a:hover {
  169.     color: rgb(37, 97, 157);
  170. }
  171.  
  172. #navigation .navlogo {
  173.     float: left;
  174. }
  175.  
  176. #navigation .navlogo a {
  177.     color: #333;
  178.     font-size: 24px;
  179.     font-family: "Roboto", Arial, Helvetica, sans-serif;
  180. }
  181.  
  182. #navigation .navlogo a:hover {
  183.     color: #2980B9;
  184. }
  185.  
  186. .navhead {
  187.     margin-top: 63px;
  188.     font-weight: 300;
  189.     color: #fff;
  190.     padding: 70px 35px 75px 35px;
  191.     background: #546e7a;
  192. }
  193.  
  194. .title {
  195.     font-size: 2.5em;
  196.     margin-bottom: 10px;
  197. }
  198.  
  199. .main {
  200.     color: #ddd;
  201.     font-weight: 300;
  202. }
  203.  
  204. #content {
  205.     margin: 4em 0em;
  206.     overflow: hidden;
  207. }
  208.  
  209. .sidebar {
  210.     font-family: inherit;
  211.     float: left;
  212.     min-height: 350px;
  213.     max-width: 250px;
  214. }
  215.  
  216. .sidebar ul {
  217.     overflow: hidden;
  218.     margin-top: 5px !important;
  219.     margin: 0;
  220.     padding: 0;
  221.     list-style-type: none;
  222. }
  223.  
  224. .sidebar ul li a {
  225.     color: #777;
  226.     padding: 5px 0;
  227.     display: block;
  228. }
  229.  
  230. .sidebar ul li a:active,
  231. .sidebar ul li a:focus {
  232.     color: #222;
  233. }
  234.  
  235. .sidebar ul li a:hover {
  236.     padding-left: 2px;
  237.     color: #333;
  238. }
  239. .main-content {
  240.     padding-top: 10px;
  241.     float: right;
  242.     max-width: 935px;
  243. }
  244.  
  245. #footer {
  246.     margin: 2em 0 2em;
  247.     padding: 1em 0em 1em;
  248.     width: 100%;
  249.     text-transform: uppercase;
  250.     color: #999;
  251.     text-align: center;
  252.     font-size: 15px;
  253.     font-family: inherit;
  254. }
  255.  
  256. @media screen and (max-width: 1100px) {
  257.     #content {
  258.         padding: 0 1em;
  259.     }
  260.     .main-content {
  261.         max-width: 100%;
  262.     }
  263.     .sidebar {
  264.         display: none;
  265.     }
  266. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement