You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
73 lines
1.7 KiB
73 lines
1.7 KiB
4 years ago
|
body {
|
||
|
margin: 0;
|
||
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
|
||
|
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
|
||
|
sans-serif;
|
||
|
-webkit-font-smoothing: antialiased;
|
||
|
-moz-osx-font-smoothing: grayscale;
|
||
|
}
|
||
|
|
||
|
code {
|
||
|
font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
|
||
|
monospace;
|
||
|
}
|
||
|
.card {
|
||
|
/* Add shadows to create the "card" effect */
|
||
|
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.137);
|
||
|
border-radius: 3%;
|
||
|
transition: 0.3s;
|
||
|
position: relative;
|
||
|
width: 300px;
|
||
4 years ago
|
height: 200px;
|
||
|
padding: 10px;
|
||
|
background-color: #282c34;
|
||
|
color: #FFFFFF;
|
||
|
}
|
||
4 years ago
|
|
||
4 years ago
|
/* On mouse-over, add a deeper shadow */
|
||
|
.card:hover {
|
||
|
box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.795);
|
||
|
}
|
||
|
|
||
|
/* Add some padding inside the card container */
|
||
|
.container {
|
||
|
padding: 6px 16px;
|
||
|
}
|
||
4 years ago
|
|
||
|
/* The Modal (background) */
|
||
|
.modal {
|
||
|
display: none; /* Hidden by default */
|
||
|
position: fixed; /* Stay in place */
|
||
|
z-index: 1; /* Sit on top */
|
||
|
left: 0;
|
||
|
top: 0;
|
||
|
width: 100%; /* Full width */
|
||
|
height: 100%; /* Full height */
|
||
|
overflow: auto; /* Enable scroll if needed */
|
||
|
background-color: rgb(0,0,0); /* Fallback color */
|
||
|
background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
|
||
|
}
|
||
|
|
||
|
/* Modal Content/Box */
|
||
|
.modal-content {
|
||
|
background-color: #282c34;
|
||
|
margin: 15% auto; /* 15% from the top and centered */
|
||
|
padding: 20px;
|
||
|
border: 1px solid #888;
|
||
|
width: 80%; /* Could be more or less, depending on screen size */
|
||
|
color: white;
|
||
|
}
|
||
|
|
||
|
.close {
|
||
|
color: #aaa;
|
||
|
float: right;
|
||
|
font-size: 28px;
|
||
|
font-weight: bold;
|
||
|
}
|
||
|
|
||
|
.close:hover,
|
||
|
.close:focus {
|
||
|
color: black;
|
||
|
text-decoration: none;
|
||
|
cursor: pointer;
|
||
|
}
|