Advertisement
Vanya_Shestakov

Untitled

Jan 2nd, 2021
212
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 2.75 KB | None | 0 0
  1. /*//////////////PAGE/////////////////*/
  2.  
  3.  
  4.  
  5. #logo{
  6.     float: left;
  7.     width: 100px;
  8.     z-index: 2 ;
  9.     position: fixed;
  10. }
  11. body {
  12.     background: url(Images/background.jpg);
  13.     background-repeat: no-repeat;
  14.     background-attachment: fixed;
  15.     background-size: cover;
  16.     overflow: auto;
  17.     margin: 0;
  18. }
  19.  
  20. #page {
  21.     overflow: auto; /*При анимации не расширяется окно и не появляется горизонтальный скролл*/
  22.     width: 100%;
  23. }
  24.  
  25. .text {
  26.     font-size: 18px;
  27. }
  28.  
  29. .title{
  30.     font-size: 40px;
  31. }
  32.  
  33. .mainimg {
  34.     display: inline-block;
  35.     border-radius: 5px;
  36.  
  37. }
  38.  
  39. .inf-main-parent {
  40.     position: relative;
  41.     width: 100%;
  42.     height: 300px;
  43.     margin-bottom: 50px;
  44.  
  45. }
  46.  
  47. .inf-main {
  48.     display: inline-block;
  49.  
  50. }
  51.  
  52. #inf-main1 {
  53.     position: absolute;
  54.     left: 50px;
  55. }
  56.  
  57. #inf-main2 {
  58.     position: absolute;
  59.     top: 37px;
  60.     right: 50px;
  61.     color:white;
  62.     background: rgba(0,0,0,0.5);
  63.     font-family: "Veranda", sans-serif;
  64.     font-size: 17px;
  65.     padding: 10px 45px 20px 45px;
  66.     border-radius: 5px;
  67. }
  68.  
  69. .a-main{
  70.     text-decoration: none;
  71.     color:white;
  72.     font-family: "Veranda", sans-serif ;
  73.     display: block;
  74.     font-weight: bold;
  75. }
  76.  
  77. .a-main:hover {
  78.     color: yellow;
  79.     transition: 0.2s;
  80. }
  81.  
  82. .a-main-blog {
  83.     text-decoration: none;
  84.     color:white;
  85.     font-family: "Veranda", sans-serif ;
  86.     font-size: 16px;
  87.     display: inline-block;
  88.     line-height: 1.8;
  89.     padding-left: 7px;
  90.     padding-right: 7px;
  91.     transition: 0.4s;
  92.     font-weight: 700;/*толщина шрифта*/
  93.     background-color: #1c1c1c;
  94.     border-radius: 5px;
  95.  
  96. }
  97.  
  98. .a-main-blog:hover {
  99.     background-color: yellow;
  100.     transition: 0.2s;
  101.     color: black;
  102. }
  103.  
  104. .a-main-p {
  105.     text-decoration: none;
  106.     color: yellow;
  107. }
  108.  
  109. .a-main-p:hover {
  110.     transition: 0.2s;
  111.     color: grey;
  112. }
  113.  
  114. /*//////////////////FOOTER///////////////*/
  115.  
  116. .footer {
  117.     background: rgba(0,0,0,0.5);
  118.     height: 300px;
  119.     width: 100%;
  120.     bottom: 0;
  121.     padding-top: 15px;
  122.     margin-top: 170px;
  123. }
  124.  
  125. .footer-logo {
  126.     margin-left: 20px;
  127.     font-family: "Veranda", sans-serif ;
  128.     font-size: 20px;
  129.     color: grey;
  130.     text-transform: uppercase;
  131.     vertical-align: middle;
  132. }
  133.  
  134. .footer-block {
  135.     display: inline-block;
  136.     margin-right: 20px;
  137.     margin-left: 20px;
  138.     vertical-align: top;
  139.    
  140. }
  141.  
  142. .footer-block h3 {
  143.     color: grey;
  144.     font-weight: 100;
  145.     text-transform: uppercase;
  146. }
  147.  
  148. .footer-ul {
  149.     list-style-type: none;
  150.     font-family: "Veranda", sans-serif ;
  151.     font-size: 15px;
  152.     padding: 0;
  153.     color: grey;
  154.     line-height: 2;
  155.     font-weight: 100;
  156.  
  157. }
  158.  
  159. .a-footer {
  160.     text-decoration: none;
  161.     font-family: "Veranda", sans-serif ;
  162.     display: block;
  163.     color: grey;
  164. }
  165.  
  166. .a-footer:hover {
  167.     color: yellow;
  168.     transition: 0.2s;
  169. }
  170.  
  171. .author {
  172.     float: right;
  173.     margin-right: 10px;
  174. }
  175.  
  176. .author h3 {
  177.     color: grey;
  178.     font-weight: 100;
  179.     text-transform: uppercase;
  180. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement