Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2017
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 8.74 KB | None | 0 0
  1. body {
  2.     font-family: Verdana, sans-serif;
  3.     margin: 0 auto;
  4. }
  5.  
  6. h4, h3, h2 {
  7.     text-transform: uppercase;
  8. }
  9.  
  10. h4 {
  11.     font-size: 24px;
  12. }
  13.  
  14. h3 {
  15.     font-size: 30px;
  16. }
  17.  
  18. h2 {
  19.     font-size: 48px;
  20. }
  21. .title {
  22.     font-size: 50px;
  23.     color: #ffc022;
  24.     margin-top: 1%;
  25. }
  26.  
  27. .title span {
  28.     color: #525252;
  29. }
  30.  
  31. .inv-title {
  32.     font-size: 50px;
  33.     color: #ffc022;
  34. }
  35.  
  36. .inv-title span {
  37.     color: white;
  38. }
  39.  
  40. a {
  41.     text-transform: uppercase;
  42.     text-decoration: none;
  43.     color: white;
  44.     transition-duration: .4s;
  45. }
  46.  
  47. a:focus {
  48.     outline: none;
  49. }
  50.  
  51. input:focus {
  52.     outline: none;
  53. }
  54.  
  55. ul {
  56.     list-style: none;
  57. }
  58.  
  59. .row {
  60.     display: flex;
  61.     flex-direction: row;
  62. }
  63.  
  64. .column {
  65.     display: flex;
  66.     flex-direction: column;
  67. }
  68.  
  69. .active {
  70.     color: #ffc022;
  71. }
  72.  
  73. .fixed {
  74.     position: fixed;
  75.     top: 0;
  76.     z-index: 999999;
  77.     width: 100%;
  78. }
  79.  
  80. .wrapper {
  81.     width: 1440px;
  82.     margin: 0 auto;
  83. }
  84. /* Конец общих стилей */
  85.  
  86. /* Навигация */
  87.  
  88. header {
  89.     background: #191e22;
  90.     box-shadow: 0px 3px 12.48px 0.52px rgba(0, 0, 0, 0.63);
  91. }
  92. nav li {
  93.     flex-grow: 1;
  94. }
  95.  
  96. ul {
  97.     text-transform: uppercase;
  98.     justify-content: flex-end;
  99.     margin: 0;
  100. }
  101.  
  102. li {
  103.     padding-top: 20px;
  104.     padding-left: 10px;
  105.     padding-right: 10px;
  106.     padding-bottom: 10px;
  107.     font-weight: bold;
  108. }
  109.  
  110. .logo {
  111.     flex-grow: 3;
  112. }
  113.  
  114.  
  115. .btn {
  116.     border: 2px solid white;
  117.     border-radius: 5px;
  118.     padding: 10px;
  119.     font-weight: bold;
  120.     transition-duration: .4s;
  121. }
  122.  
  123. .btn:hover {
  124.     border-color: #ffc022;
  125.     background: #ffc022;
  126.     transition-duration: .4s;
  127. }
  128.  
  129. li a:hover {
  130.     color: #ffc022;
  131. }
  132.  
  133. .inv-btn {
  134.     border: 2px solid #ffc022;
  135.     border-radius: 5px;
  136.     background: #ffc022;
  137.     padding: 10px;
  138.     transition-duration: .4s;
  139. }
  140.  
  141. .inv-btn:hover {
  142.     filter: brightness(110%);
  143.     transition-duration: .4s;
  144. }
  145. /* Конец навигации*/
  146.  
  147. /* Начало слайдера */
  148.  
  149. .slider {
  150.     position: relative;
  151.     overflow: hidden;
  152. }
  153.  
  154. .slide {
  155.     position: relative;
  156.     flex-shrink: 0;
  157. }
  158.  
  159. .slide img {
  160.     width: 100%;
  161.     top: 0;
  162.     left: 0;
  163.     z-index: 9;
  164. }
  165.  
  166. .slide h3 {
  167.     position: absolute;
  168.     top: 15%;
  169.     left: 10%;
  170.     z-index: 99;
  171.     color: #ffc022;
  172. }
  173.  
  174. .slide h2 {
  175.     position: absolute;
  176.     top: 20%;
  177.     left: 10%;
  178.     z-index: 99;
  179.     color: white;
  180. }
  181.  
  182. .slide p {
  183.     position: absolute;
  184.     top: 40%;
  185.     left: 10%;
  186.     z-index: 99;
  187.     padding-right: 35%;
  188.     color: rgba(255, 255, 255, 0.7);
  189. }
  190.  
  191. .slide a {
  192.     position: absolute;
  193.     top: 70%;
  194.     left: 10%;
  195. }
  196.  
  197. .controls {
  198.     /*position: absolute;*/
  199.     /*bottom: 10%;*/
  200.     /*left: 50%;*/
  201.     /*z-index: 99;*/
  202. }
  203.  
  204. .control,
  205. .prev,
  206. .next {
  207.     height: 5px;
  208.     width: 20px;
  209.     background:  green;
  210.     z-index: 99;
  211.     border-radius: 5px;
  212.     margin-left: 10px;
  213. }
  214.  
  215. .hidden {
  216.     display: none;
  217. }
  218. .active-bar {
  219.     background: #ffc022;
  220. }
  221. /* Конец слайдера */
  222.  
  223. /* Наши мероприятия */
  224.  
  225. .events {
  226.     justify-content: center;
  227.     align-items: center;
  228.  
  229. }
  230.  
  231. .current {
  232.     position: relative;
  233.     width: 800px;
  234.     height: 300px;
  235.     box-shadow: 0px 3px 12.48px 0.52px rgba(0, 0, 0, 0.63);
  236.     overflow: hidden;
  237. }
  238.  
  239. .current img {
  240.     position: absolute;
  241.     top: 6%;
  242.     left: 3%;
  243.     z-index: 9;
  244. }
  245.  
  246. .current h4 {
  247.     position: absolute;
  248.     color: #ffc022;
  249.     left: 50%;
  250.     z-index: 99;
  251. }
  252.  
  253. .current p {
  254.     position: absolute;
  255.     color: #525252;
  256.     top: 30%;
  257.     left: 50%;
  258.     z-index: 99;
  259. }
  260.  
  261. .current a {
  262.     position: absolute;
  263.     bottom: 6%;
  264.     left: 50%;
  265.     z-index: 99;
  266. }
  267.  
  268. .preview {
  269.     margin: 25px;
  270.     border: 10px solid white;
  271.     box-shadow: 0px 3px 12.48px 0.52px rgba(0, 0, 0, 0.63);
  272. }
  273.  
  274. .preview h4 {
  275.     display: none;
  276. }
  277.  
  278. .preview p {
  279.     display: none;
  280. }
  281.  
  282. .preview a {
  283.     display: none;
  284. }
  285.  
  286.  
  287. /* Конец меропрятий     */
  288.  
  289. /* Капитаны */
  290.  
  291. .captains {
  292.     background: url('../img/covers/1.jpg') no-repeat;
  293.     justify-content: center;
  294.     align-items: center;
  295.     background-size: cover;
  296. }
  297.  
  298. .volunteer h4{
  299.     color: #ffc022;
  300.     font-size: 18px;
  301.     margin-bottom: 0;
  302. }
  303.  
  304. .volunteer img {
  305.     border: 3px solid white;
  306. }
  307.  
  308. .volunteer p {
  309.     color: white;
  310.     font-size: 14px;
  311.     font-weight: bold;
  312.     text-transform: uppercase;
  313. }
  314.  
  315. .volunteer {
  316.     position: relative;
  317.     text-align: center;
  318.     margin: 1%;
  319. }
  320.  
  321. .overlay {
  322.     position: absolute;
  323.     bottom: 23.5%;
  324.     height: 76.5%;
  325.     width: 100%;
  326.     background-color: rgba(255, 192, 34, 0);
  327. }
  328.  
  329. .vk {
  330.     position: absolute;
  331.     top: 30%;
  332.     left: 40%;
  333.     background-color: rgba(255, 255, 255, 1);
  334.     border: 2px solid rgba(255, 255, 255, 1);
  335.     opacity: 0;
  336.     border-radius: 10px;
  337.     padding: 10px;
  338.     font-size: 20px;
  339.     font-weight: bold;
  340.     text-transform: uppercase;
  341.     color: rgba(255, 192, 34, 1);
  342.     transition-duration: .5s;
  343. }
  344.  
  345. .vk:hover {
  346.     color: rgba(255, 255, 255, 1);
  347.     background-color: rgba(255, 255, 255, 0);
  348.     transition-duration: .5s;
  349. }
  350.  
  351. .volunteer:hover .vk {
  352.     opacity: 1;
  353.     transition-duration: .5s;
  354. }
  355.  
  356. .volunteer:hover .overlay {
  357.     background-color: rgba(255, 192, 34, 0.75);
  358. }
  359.  
  360. /* Конец капитаны */
  361.  
  362. /* Галерея */
  363.  
  364. .gallery {
  365.     justify-content: center;
  366.     align-items: center;
  367. }
  368.  
  369. .gallery-item {
  370.     position: relative;
  371.     margin: 2%;
  372. }
  373.  
  374. .gallery-item img {
  375.     box-shadow: 0px 3px 12.48px 0.52px rgba(0, 0, 0, 0.63);
  376. }
  377.  
  378.  
  379. .item-overlay {
  380.     position: absolute;
  381.     background-color: rgba(255, 192, 34, 0);
  382.     bottom: 1%;
  383.     width: 100%;
  384.     height: 25%;
  385.     z-index: 9;
  386.     transition-duration: .5s;
  387. }
  388.  
  389. .gallery-item h4 {
  390.     bottom: 3%;
  391.     left: 20%;
  392.     font-size: 24px;
  393.     position: absolute;
  394.     color: rgba(255, 255, 255, 0);
  395.     z-index: 99;
  396. }
  397.  
  398. .gallery-item p {
  399.     bottom: 0;
  400.     left: 35%;
  401.     position: absolute;
  402.     text-transform: uppercase;
  403.     color: rgba(82, 82, 82, 0);
  404.     z-index: 99;
  405. }
  406.  
  407. .gallery-item:hover h4 {
  408.     color: rgba(255, 255, 255, 1);
  409.     transition-duration: .5s;
  410. }
  411.  
  412. .gallery-item:hover p {
  413.     color: rgba(82, 82, 82, 1);
  414.     transition-duration: .5s;
  415. }
  416.  
  417. .gallery-item:hover .item-overlay {
  418.     background-color: rgba(255, 192, 34, 0.75);
  419.     transition-duration: .5s;
  420. }
  421.  
  422. /* Регистрация */
  423.  
  424. .join {
  425.     background: url("../img/covers/2.jpg") no-repeat;
  426.     background-size: cover;
  427.     align-items: center;
  428.     justify-content: center;
  429. }
  430.  
  431. .join img {
  432.     border: 4px solid white;
  433.     border-radius: 2px;
  434.     width: 50%;
  435.     height: 30%;
  436.     margin-right: 50px;
  437.     margin-bottom: 3%;
  438. }
  439.  
  440. .join .row {
  441.     justify-content: space-around;
  442.  
  443. }
  444.  
  445. .join input {
  446.     background: #484848;
  447.     border: none;
  448.     border-radius: 5px;
  449.     color: white;
  450.     padding: 8px;
  451.     margin: 5px;
  452. }
  453.  
  454. .join form {
  455.     background-color: #191e22;
  456.     padding: 25px;
  457.     text-align: center;
  458.     height: 100%;
  459.     margin-left: 50px;
  460. }
  461.  
  462.  
  463. .join form h4 {
  464.     font-size: 18px;
  465.     color: white;
  466.     margin-top: 0;
  467.     margin-bottom: 5px;
  468. }
  469.  
  470. label {
  471.     font-size: 14px;
  472.     color: white;
  473.     margin: 5px;
  474. }
  475.  
  476. footer {
  477.     background: #111416;
  478.     justify-content: center;
  479.     align-items: center;
  480. }
  481.  
  482. footer a {
  483.     margin: 10px;
  484. }
  485.  
  486. footer .btn {
  487.     padding: 5px;
  488. }
  489.  
  490.  
  491. .out {
  492.     transform: scale(0);
  493.     transition: 1s;
  494.     transition-property: transform;
  495. }
  496.  
  497. .change-img{
  498.     animation: bobLeft;
  499.     animation-duration: 1s;
  500. }
  501. .change-h2{
  502.     animation: bobUp;
  503.     animation-duration: 1s;
  504. }
  505. .change-p {
  506.     animation: bobRight;
  507.     animation-duration: 1s;
  508. }
  509.  
  510. .change-button {
  511.     animation: bobDown;
  512.     animation-duration: 1s;
  513. }
  514.  
  515. @keyframes bobUp {
  516.     0% {
  517.         transform: translateY(-2000px);
  518.     }
  519.     70% {
  520.         transform: translateY(30px);
  521.     }
  522.     90% {
  523.         transform: translateY(-10px);
  524.     }
  525.     100% {
  526.         transform: translateY(0);
  527.     }
  528. }
  529.  
  530.  
  531. @keyframes bobDown {
  532.     0% {
  533.         transform: translateY(2000px);
  534.     }
  535.     70% {
  536.         transform: translateY(-30px);
  537.     }
  538.     90% {
  539.         transform: translateY(10px);
  540.     }
  541.     100% {
  542.         transform: translateY(0);
  543.     }
  544. }
  545.  
  546.  
  547. @keyframes bobRight {
  548.     0% {
  549.         transform: translateX(2000px);
  550.     }
  551.     70% {
  552.         transform: translateX(-30px);
  553.     }
  554.     90% {
  555.         transform: translateX(10px);
  556.     }
  557.     100% {
  558.         transform: translateX(0);
  559.     }
  560. }
  561.  
  562. @keyframes bobLeft {
  563.     0% {
  564.         transform: translateX(-100px);
  565.     }
  566.     70% {
  567.         transform: translateX(30px);
  568.     }
  569.     90% {
  570.         transform: translateX(-10px);
  571.     }
  572.     100% {
  573.         transform: translateX(0);
  574.     }
  575. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement