qsadfasdgfgads

Untitled

Oct 29th, 2017
179
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 3.22 KB | None | 0 0
  1. @import url('https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz');
  2. @import url('https://fonts.googleapis.com/css?family=Poiret+One');
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9. /* Стили Шапки */
  10.  
  11. header {
  12.     padding-left: 20px;
  13.     line-height: 20px;
  14.     padding-top: 50px;
  15.     color: white;
  16.     background-color: black;
  17.     height: 120px;
  18.     width: 100%;
  19.  
  20.     font-family: 'Yanone Kaffeesatz', sans-serif;
  21. }
  22.  
  23. header h2 {
  24.     padding-top: 15px;
  25.     font-size: 40px;
  26. }
  27.  
  28. header p {
  29.  
  30.     font-size: 24px;
  31. }
  32.  
  33. header img {
  34.     float: right;
  35.     display: inline-block;
  36.     margin-right: 50px;
  37.     margin-top: -15px;
  38. }
  39.  
  40. header h1 {
  41.     float: right;
  42.     font-size: 30px;
  43.     display: inline-block;
  44.     margin-right: 50px;
  45.     margin-top: 30px;
  46. }
  47.  
  48.  
  49.  
  50.  
  51.  
  52. /* Контент */
  53.  
  54. .clear {
  55.     clear: both;
  56. }
  57.  
  58. .content {
  59.     padding-top: 50px;
  60.     display: block;
  61.     width: 100%;
  62.     height: 2200px;
  63.     background-image: url(images/wallpaper_background.png);
  64. }
  65.  
  66. .all {
  67.     margin-left: 20px;
  68.     font-family: 'Poiret One', cursive;
  69.     font-size: 30px;
  70.     padding-left: 15px;
  71.     line-height: 75px;
  72.     color: white;
  73.     background-color: black;
  74.     height: 75px;
  75.     width: 900px;
  76. }
  77.  
  78. .article {
  79.     display: flex;
  80.     justify-content: space-between;
  81.     color: white;
  82.     font-family: 'Poiret One', cursive;
  83.     font-size: 28px;
  84.     margin-left: 20px;
  85.     margin-top: 20px;
  86.     background-color: black;
  87.     height: 60px;
  88.     line-height: 60px;
  89.     padding-left: 15px;
  90.     width: 900px;
  91. }
  92.  
  93. .end {
  94.     display: flex;
  95. }
  96.  
  97. .img {
  98.     padding-left: 20px;
  99. }
  100.  
  101. .flex {
  102.     padding-bottom: 50px;
  103. }
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112. /* Сайдбар [Right] */
  113.  
  114. .sidebar {
  115.     float: right;
  116.     padding-right: 20px;
  117.     padding-top: 18px;
  118. }
  119.  
  120. .sidebar input {
  121.     height: 30px;
  122.     width: 150px;
  123.     padding-left: 50px;
  124. }
  125.  
  126. .sidebar button {
  127.     color: #fff;
  128.     /* цвет текста */
  129.     text-decoration: none;
  130.     /* убирать подчёркивание у ссылок */
  131.     /* убирать выделение текста */
  132.     background: rgb(212, 75, 56);
  133.     /* фон кнопки */
  134.     padding: .7em 1.5em;
  135.     /* отступ от текста */
  136.     outline: none;
  137.     /* убирать контур в Mozilla */
  138. }
  139.  
  140. .sidebar button:hover {
  141.     background: rgb(232, 95, 76);
  142. }
  143.  
  144.  
  145.  
  146.  
  147.  
  148.  
  149.  
  150. /* при наведении курсора мышки */
  151.  
  152. .sidebar button:active {
  153.     background: rgb(152, 15, 0);
  154. }
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162. /* при нажатии */
  163.  
  164. a {
  165.     text-decoration: none;
  166. }
  167.  
  168. .user a {
  169.     border: 1px solid white;
  170.     color: white;
  171.     padding: 5px 35px 10px 20px;
  172. }
  173.  
  174. .user {
  175.     margin-top: 20px;
  176.     font-family: 'Poiret One', cursive;
  177.     display: flex;
  178.     flex-direction: column;
  179.     padding-top: 30px;
  180.     padding-left: 20px;
  181.     background-color: black;
  182.     height: 100px;
  183.     width: 270px;
  184. }
  185.  
  186. .categories {
  187.     color: white;
  188.     font-family: 'Poiret One', cursive;
  189.     font-size: 28px;
  190.     margin-top: 20px;
  191.     background-color: black;
  192.     height: 400px;
  193. }
  194.  
  195. .categories a {
  196.     font-family: 'Poiret One', cursive;
  197.     color: white;
  198. }
  199.  
  200. .categories p {
  201.     text-align: center;
  202.     padding-top: 50px;
  203.     margin-bottom: 20px;
  204. }
Advertisement
Add Comment
Please, Sign In to add comment