Advertisement
Guest User

Untitled

a guest
Dec 8th, 2017
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 0.92 KB | None | 0 0
  1. /* The Stats (background) */
  2. .stats {
  3.     display: block;
  4.     position: fixed; /* Stay in place */
  5.     z-index: 1; /* Sit on top */
  6.     left: 0;
  7.     top: 0;
  8.     width: 100%; /* Full width */
  9.     height: 100%; /* Full height */
  10.     overflow: auto; /* Enable scroll if needed */
  11.     background-color: rgb(0,0,0); /* Fallback color */
  12.     background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  13. }
  14.  
  15. /* Modal Content/Box */
  16. .stats-content {
  17.     background-color: #fefefe;
  18.     margin: 15% auto; /* 15% from the top and centered */
  19.     padding: 20px;
  20.     border: 1px solid #888;
  21.     width: 80%; /* Could be more or less, depending on screen size */
  22.     color: black; /* Make the text black */
  23. }
  24.  
  25. /* The Close Button */
  26. .close {
  27.     color: red;
  28.     float: right;
  29.     font-size: 28px;
  30.     font-weight: bold;
  31. }
  32.  
  33. .close:hover,
  34. .close:focus {
  35.     color: black;
  36.     text-decoration: none;
  37.     cursor: pointer;
  38. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement