Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 15 additions & 4 deletions main.css
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,19 @@

}

/*
For making this a full-screen modal, you want
to make use of the position: fixed. You can also
use rgba(r,g,b,a) to set a semitransparent background
- Chris
*/
.lightboxbg {
background-color: #444;
padding:125px 135px 125px 110px;

background-color: rgba(0,0,0,0.7);
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
}

.lightboxcontent {
Expand All @@ -80,7 +89,9 @@
border-radius: 6px;
margin-right: auto;
margin-left: auto;
width: 98%;
/* force a width and set it away from the top */
width: 500px;
margin-top: 100px;
}

.button {
Expand Down