84 lines
1.6 KiB
CSS
84 lines
1.6 KiB
CSS
/* The Modal (background) */
|
|
.modal {
|
|
display: none; /* Hidden by default */
|
|
position: fixed; /* Stay in place */
|
|
z-index: 1; /* Sit on top */
|
|
padding-top: 100px; /* Location of the box */
|
|
left: 0;
|
|
top: 0;
|
|
width: 100%;
|
|
height: 100%; /* Full height */
|
|
background-color: rgb(0,0,0); /* Fallback color */
|
|
background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
|
|
}
|
|
|
|
.modal-content {
|
|
background-color: #fefefe;
|
|
margin: auto;
|
|
padding: 20px;
|
|
border: 1px solid #888;
|
|
width: 50%;
|
|
}
|
|
|
|
/* The Close Button */
|
|
.close {
|
|
color: #aaaaaa;
|
|
float: right;
|
|
padding: 5px;
|
|
font-size: 28px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.title {
|
|
font-size: x-large;
|
|
font-weight: bold ;
|
|
padding-top: 5px;
|
|
margin:0px 0px 5px 0px;
|
|
|
|
}
|
|
.description {
|
|
padding: 5px;
|
|
font-size: 15px;
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
.profname {
|
|
margin-left: 5px;
|
|
padding-bottom: 5px;
|
|
font-size: medium;
|
|
font-weight: bold;
|
|
}
|
|
|
|
#chart {
|
|
min-width: auto;
|
|
max-width: 800px;
|
|
height: 250px;
|
|
margin: 0 auto
|
|
}
|
|
|
|
.card {
|
|
/* Add shadows to create the "card" effect */
|
|
box-shadow: 0 4px 4px 0 rgba(0,0,0,0.2);
|
|
transition: 0.3s;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
/* On mouse-over, add a deeper shadow */
|
|
.card:hover {
|
|
box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
|
|
}
|
|
|
|
/* Add some padding inside the card container */
|
|
.cardcontainer {
|
|
padding: 2px 16px;
|
|
transition:width 300ms ease-in-out, height 300ms ease-in-out;
|
|
}
|
|
|
|
|
|
.close:hover,
|
|
.close:focus {
|
|
color: #000;
|
|
text-decoration: none;
|
|
cursor: pointer;
|
|
} |