169 lines
2.6 KiB
CSS
169 lines
2.6 KiB
CSS
* {
|
|
box-sizing: border-box;
|
|
margin: 0;
|
|
}
|
|
html, body {
|
|
height: 100%;
|
|
}
|
|
body {
|
|
background: #F0F0F0;
|
|
font-family: sans-serif;
|
|
font-size: 21px;
|
|
}
|
|
h1 {
|
|
color: #505050;
|
|
text-align: center;
|
|
}
|
|
header {
|
|
background-color: #E0E0E0;
|
|
margin-bottom: 25px;
|
|
padding: 10px;
|
|
}
|
|
#container {
|
|
position: relative;
|
|
height: 600px;
|
|
overflow: hidden;
|
|
}
|
|
#codeContainer {
|
|
display: inline-block;
|
|
width: 50%;
|
|
height: calc(100% - 50px);
|
|
vertical-align: top;
|
|
}
|
|
#code {
|
|
position: relative;
|
|
height: 100%;
|
|
}
|
|
#exBtn {
|
|
background-color: #9A9F03;
|
|
color: white;
|
|
font-weight: bold;
|
|
display: inline-block;
|
|
width: 25%;
|
|
border: none;
|
|
height: 50px;
|
|
transition: 0.3s;
|
|
}
|
|
#exBtn:hover {
|
|
background-color: #7A7F0A;
|
|
}
|
|
#runBtn {
|
|
background-color: #079992;
|
|
color: white;
|
|
font-weight: bold;
|
|
display: inline-block;
|
|
width: 50%;
|
|
border: none;
|
|
height: 50px;
|
|
transition: 0.3s;
|
|
}
|
|
#runBtn:hover {
|
|
background-color: #007972;
|
|
}
|
|
#clearBtn {
|
|
background-color: #832317;
|
|
color: white;
|
|
font-weight: bold;
|
|
display: inline-block;
|
|
width: 25%;
|
|
border: none;
|
|
height: 50px;
|
|
transition: 0.3s;
|
|
}
|
|
#clearBtn:hover {
|
|
background-color: #6A1F13;
|
|
}
|
|
#console {
|
|
font-family: monospace;
|
|
color: white;
|
|
display: inline-block;
|
|
background-color: #303030;
|
|
width: 50%;
|
|
height: calc(100% - 50px);
|
|
vertical-align: top;
|
|
overflow: auto;
|
|
}
|
|
.error {
|
|
margin: 5px;
|
|
padding: 5px;
|
|
border-radius: 5px;
|
|
background-color: #FF0000;
|
|
}
|
|
.message {
|
|
margin: 5px;
|
|
}
|
|
footer {
|
|
font-size: 10px;
|
|
margin-top: 25px;
|
|
padding: 10px;
|
|
}
|
|
p {
|
|
padding: 10px;
|
|
}
|
|
.cards {
|
|
display: flex;
|
|
justify-content: space-around;
|
|
margin-bottom: 20px;
|
|
}
|
|
.card {
|
|
position: relative;
|
|
display: inline-block;
|
|
border-radius: 15px;
|
|
background-color: #C0C0C0;
|
|
width: 150px;
|
|
transition: 0.3s;
|
|
padding: 15px;
|
|
}
|
|
.bg-img {
|
|
height: 120px;
|
|
border-radius: 15px;
|
|
background-repeat: no-repeat;
|
|
background-size: contain;
|
|
background-position: center center;
|
|
margin: 5px;
|
|
}
|
|
.card p {
|
|
text-align: center;
|
|
color: black;
|
|
}
|
|
.card:hover {
|
|
transform: scale(1.1);
|
|
}
|
|
#js-card {
|
|
background-image: url("../img/js.svg");
|
|
}
|
|
#py-card {
|
|
background-image: url("../img/py.svg");
|
|
}
|
|
#lua-card {
|
|
background-image: url("../img/lua.svg");
|
|
}
|
|
#sqlite-card {
|
|
background-image: url("../img/sqlite.svg");
|
|
}
|
|
#html-card {
|
|
background-image: url("../img/html.svg");
|
|
}
|
|
#html-card:hover::before {
|
|
display: inline-block;
|
|
content: "Bientôt";
|
|
color: white;
|
|
height: 100%;
|
|
width: 100%;
|
|
background-color: black;
|
|
opacity: 0.7;
|
|
text-align: center;
|
|
line-height: 100px;
|
|
}
|
|
#sqlite-card:hover::before {
|
|
display: inline-block;
|
|
content: "Bientôt";
|
|
color: white;
|
|
height: 100%;
|
|
width: 100%;
|
|
background-color: black;
|
|
opacity: 0.7;
|
|
text-align: center;
|
|
line-height: 100px;
|
|
}
|