textadventure/style.css

106 lines
1.9 KiB
CSS
Raw Normal View History

:root {
2021-07-10 21:45:00 +00:00
--term-colour: white;
--term-bg-colour: #3C3C3C;
--main-colour: white;
--main-bg-colour: #3C3C3C;
--body-bg-colour: black;
}
2021-07-09 19:56:23 +00:00
body {
text-align: center;
background-color: var(--body-bg-colour);
2021-07-10 02:59:41 +00:00
font-family: "Courier New", monospace;
}
2021-07-10 03:47:57 +00:00
p {
padding-left: 1%;
}
2021-07-10 22:03:00 +00:00
a {
color: #fdffea;
}
2021-07-10 03:47:57 +00:00
#fakebuttons {
2021-07-10 02:59:41 +00:00
margin: auto;
2021-07-10 03:47:57 +00:00
padding-top: 1%;
2021-07-10 02:59:41 +00:00
text-align: right;
float: right;
2021-07-10 03:47:57 +00:00
padding-right: 2%;
2021-07-10 22:05:50 +00:00
user-select: none;
2021-07-10 02:59:41 +00:00
}
2021-07-10 03:47:57 +00:00
#terminal {
display:inline-block;
font-weight: bolder;
2021-07-09 19:56:23 +00:00
}
h2#terminal {
margin: 10px;
padding-left: 12%;
align-content: center;
}
2021-07-09 19:56:23 +00:00
2021-07-10 02:59:41 +00:00
#infobox {
text-align: center;
background: rgb(60, 60, 60);
color: var(--main-colour);
2021-07-10 02:59:41 +00:00
width: 50%;
height: 10%;
margin-left: 25%;
margin-top: 5%;
padding-bottom: 10px;
border-radius: 2px;
}
h4 {
padding: 5px;
2021-07-10 02:59:41 +00:00
}
#roundedtop {
border-top: solid;
border-radius: 10px 10px 0px 0px;
border-color: rgb(60, 60, 60);
2021-07-10 03:47:57 +00:00
border-bottom: solid;
border-bottom-color: darkgray;
border-width: 2px;
2021-07-10 02:59:41 +00:00
height: 5%;
width: 50%;
margin-top: 5%;
margin-left: 25%;
background-color: rgb(60, 60, 60);
position: relative;
color: var(--main-colour);
2021-07-10 02:59:41 +00:00
font-weight: bolder;
word-spacing: 10px;
2021-07-10 03:47:57 +00:00
text-align: center;
2021-07-09 19:56:23 +00:00
}
#userText {
margin-left: 25%;
justify-content: center;
background-color: var(--term-bg-colour);
color: var(--term-colour);
2021-07-09 19:56:23 +00:00
text-align: left;
2021-07-10 02:59:41 +00:00
height: 45%;
2021-07-09 19:56:23 +00:00
width: 50%;
overflow-y: scroll;
}
#userInput {
width: 50%;
padding: 10px;
border:none;
2021-07-10 02:59:41 +00:00
background-image: url('./greaterthans.png');
background-position: 10px 10px;
background-repeat: no-repeat;
background: var(--term-bg-colour);
color: var(--term-colour);
2021-07-10 03:47:57 +00:00
border-top: solid;
border-color: darkgray;
border-width: 2px;
font-family: monospace;
2021-07-09 19:56:23 +00:00
}
2021-07-10 02:59:41 +00:00
#userInput:focus {
outline: none;
}