Advertisement
Guest User

Untitled

a guest
Mar 18th, 2018
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 2.24 KB | None | 0 0
  1. @charset "UTF-8";
  2. html {
  3.   height: 100%;
  4.   background: #ffffff; }
  5.  
  6. nav {
  7.   max-width: 960px;
  8.   margin: 0 auto;
  9.   padding-top: 60px;
  10.   padding-right: 0;
  11.   padding-left: 0;
  12.   mask-image: linear-gradient(90deg, #99cccc 0%, #009999 50%, #99cccc 100%); }
  13.  
  14. nav ul {
  15.   text-align: center;
  16.   background: linear-gradient(90deg, #99cccc 0%, #009999 50%, #99cccc 100%);
  17.   box-shadow: 0 0 25px #009999,indet  0 1px white; }
  18.  
  19. nav ul li {
  20.   display: inline-block; }
  21.  
  22. nav ul li a {
  23.   padding: 30px;
  24.   padding-right: 100px;
  25.   padding-left: 100px;
  26.   font-family: Polla;
  27.   font-size: 30px;
  28.   text-decoration: none;
  29.   display: block;
  30.   text-transform: uppercase;
  31.   color: white; }
  32.  
  33. nav ul li a:hover {
  34.   color: #009999;
  35.   background: #99cccc;
  36.   box-shadow: 0 0 10px #009999,inset 0 0 1px pink; }
  37.  
  38. .mid img {
  39.   display: block;
  40.   margin: 0 auto;
  41.   float: right;
  42. }
  43.  
  44. .who{
  45.     clear: right;
  46.     font-size: 50px;
  47.     font-style: italic;
  48. }
  49.  
  50. .informacje {
  51.   margin-left: 30%; }
  52.   .informacje td:first-child {
  53.     margin-right: 15%;
  54.     padding-right: 50px;
  55.     text-align: center; }
  56.   .informacje td:nth-child(2) img {
  57.     height: 300px;
  58.     width: 300px; }
  59.  
  60. .css_gallery {
  61.   margin: 0 auto;
  62.   width: 720px;
  63.   /* szerokosc najszerszego zdjÄ™cia + szerokosc miniatur + 40px luzu */
  64.   position: relative;
  65.   overflow: hidden; }
  66.  
  67. .css_gallery ul {
  68.   list-style-type: none;
  69.   width: 192px;
  70.   /* szerokosc miniatur */
  71.   height: 375px;
  72.   /* wysokosc najwyzszego zdjecia + miejsce na ewentualny opis zdjec */
  73.   overflow: auto;
  74.   padding: 0;
  75.   float: left;
  76.   margin: 0 0 30px 0; }
  77.  
  78. .css_gallery li {
  79.   display: block;
  80.   width: 100px;
  81.   /* szerokosc miniatury + ew. obramowanie obrazka */
  82.   height: 100px;
  83.   /* wysokosc miniatury + ew. obramowanie obrazka */
  84.   padding: 5px 5px 5px 0;
  85.   margin: 0; }
  86.  
  87. .css_gallery li img {
  88.   border: 1px solid #000;
  89.   max-width: 500px;
  90.   max-height: 500px; }
  91.  
  92. .css_gallery li div {
  93.   display: none; }
  94.  
  95. .css_gallery ul:hover li:first-child div {
  96.   display: none; }
  97.  
  98. .css_gallery li:hover div
  99. , .css_gallery ul li:first-child div
  100. , .css_gallery ul li:first-child:hover div {
  101.   display: block;
  102.   position: absolute;
  103.   left: 220px;
  104.   /* szerokosc <ul> + padding <ul> + 20px */
  105.   top: 0; }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement