| #modal { |
| display: none; |
| position: fixed; |
| z-index: 1; |
| left: 0; |
| top: 0; |
| width: 100%; |
| height: 100%; |
| overflow: auto; |
| background-color: rgb(0,0,0); |
| background-color: rgba(0,0,0,0.5); |
| } |
| |
| #modal_content { |
| background-color: #fefefe; |
| margin: 15% auto; |
| padding: 20px; |
| border: 1px solid #888; |
| border-radius: 4px; |
| border-top: 8px solid #c04331; |
| width: 80%; |
| max-width: 720px; |
| } |
| |
| #modal.modal_help > #modal_content { |
| background-color: #fefefe; |
| margin: 15% auto; |
| padding: 20px; |
| border: 1px solid #888; |
| border-radius: 4px; |
| border-top: 8px solid #43c031; |
| width: 80%; |
| max-width: 720px; |
| } |
| |
| |
| #modal.modal_error > #modal_content { |
| background-color: #fefefe; |
| margin: 15% auto; |
| padding: 20px; |
| border: 1px solid #888; |
| border-radius: 4px; |
| border-top: 8px solid #c04331; |
| width: 80%; |
| max-width: 720px; |
| } |
| |
| |
| #modal_content > h2 { |
| margin-top: -10px; |
| font-size: 3rem; |
| } |
| |
| #modal_close { |
| color: #aaa; |
| float: right; |
| font-size: 28px; |
| margin-top: -16px; |
| font-weight: bold; |
| } |
| |
| #modal_close:hover, |
| #modal_close:focus { |
| color: black; |
| text-decoration: none; |
| cursor: pointer; |
| } |
| |
| |
| #modal_content > div > p { |
| margin-top: 40px; |
| } |