Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <style type="text/css">
- /*
- * overlay.css v1.0.0
- * Copyright 2014 Joah Gerstenberg (www.joahg.com)
- */
- .overlay { /* háttér */
- visibility: hidden;
- opacity: 0;
- position: fixed;
- top: 0;
- bottom: 0;
- right: 0;
- left: 0;
- z-index: 10;
- width: 100%;
- height: 100%;
- background-color: rgb(0,0,0); /* a háttér színe */
- background-color: rgba(0,0,0,0.85); /* háttér színe újra rgba kóddal ez teszi lehetővé az átlátszóságot */
- cursor: crosshair; /* a kurzor kinézete mikor a háttérre viszed az egeret */
- -webkit-transition: opacity 0.4s ease-in-out;
- -moz-transition: opacity 0.4s ease-in-out;
- -ms-transition: opacity 0.4s ease-in-out;
- -o-transition: opacity 0.4s ease-in-out;
- transition: opacity 0.4s ease-in-out;
- }
- .overlay .modal { /* a megjelenő ablak */
- cursor: auto;
- position: absolute;
- z-index: 11;
- top: 0;
- bottom: 0;
- right: 0;
- left: 0;
- margin: auto;
- max-width: 500px; /* szélesség */
- max-height: 320px; /* magasság */
- padding: 15px; /* a tartalom mennyire legyen távol a szélektől */
- background-color: rgb(255,255,255); /* háttérszín */
- -webkit-border-radius: 0px; /* sarkak lekerekítése chromeban */
- -moz-border-radius: 0px; /* sarkak lekerekítése mozillában */
- border-radius: 0px; /* sarkak lekerekítése */
- }
- .overlay.shown { /* az ablak halványsága */
- opacity: 1;
- }
- modaltitle { /* az ablak címének kinézete */
- font-family: Arial Black;
- font-size: 16px;
- font-style: normal;
- font-weight: solid;
- background-color: #000000;
- color: #ffffff;
- padding: 4px;
- letter-spacing: 0px;
- text-align: center;
- text-decoration: none;
- text-transform: uppercase;
- width: 100%;
- }
- modaltext { /* az ablakba írt szöveg kinézete */
- font-family: Arial;
- font-size: 12px;
- font-style: normal;
- font-weight: solid;
- background-color: transparent;
- color: #000000;
- letter-spacing: 0px;
- line-height: 16px;
- text-align: justify;
- text-decoration: none;
- text-transform: normal;
- }</style>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement