pages/gamedevtree/style.css

648 lines
11 KiB
CSS

* {
transition-duration: 0.25s;
text-align: center;
font-family: "Roboto Mono", monospace;
font-weight: bold;
table-align: center;
margin: auto;
}
*:focus {
outline: none;
webkit-outline: none;
}
body {
background-color: var(--background);
color: var(--color);
overflow: hidden;
--background: #0f0f0f;
--color: #dfdfdf;
--points: #ffffff;
}
html, body {
min-height: 100%;
height: 100%;
}
td {
padding: 0
}
.upgTable {
display: flex !important;
flex-flow: column wrap;
justify-content: center;
align-items: center;
max-width: 100%;
margin: 0 auto;
}
.upgRow {
display: flex !important;
flex-flow: row wrap;
justify-content: center;
align-items: center;
max-width: 100%;
margin: 0 auto;
}
.upgAlign {
vertical-align: 0
}
.bigUpgAlign {
vertical-align: 0
}
h1, h2, h3, b, input {
display: inline;
/*font-family: "Lucida Console", "Courier New", monospace*/
}
.treeNode {
height: 100px;
width: 100px;
border: var(--hqProperty1);
border-color: rgba(0, 0, 0, 0.125);
border-radius: 50%;
box-shadow: var(--hqProperty2a), var(--hqProperty2b);
font-size: 40px;
/*font-family: "Lucida Console", "Courier New", monospace*/;
color: rgba(0, 0, 0, 0.5);
text-shadow: var(--hqProperty3);
}
.smallNode {
height: 60px;
width: 60px;
border: var(--hqProperty1);
border-color: rgba(0, 0, 0, 0.125);
border-radius: 50%;
box-shadow: var(--hqProperty2a), var(--hqProperty2b);
font-size: 30px;
/*font-family: "Lucida Console", "Courier New", monospace*/;
color: rgba(0, 0, 0, 0.5);
text-shadow: var(--hqProperty3);
}
.locked {
background-color: #bf8f8f;
cursor: not-allowed;
}
.can {
cursor: pointer;
}
.can:hover {
transform: scale(1.15, 1.15);
box-shadow: 0px 0px 20px var(--points)
}
.treeNode.notify {
transform: scale(1.1, 1.1);
border-color: rgba(0, 0, 0, 0.125);
box-shadow: var(--hqProperty2a), 0px 0px 20px #ff0000;
z-index: 3
}
.treeNode.can:hover {
transform: scale(1.15, 1.15);
box-shadow: var(--hqProperty2a), 0px 0px 20px var(--points);
z-index: 4
}
.bought {
background-color: #77bf5f;
cursor: default;
}
.back {
position: absolute;
top: 0px;
left: 0px;
background-color: transparent;
border: 1px solid transparent;
color: var(--color);
font-size: 40px;
cursor: pointer;
}
.back:hover {
transform: scale(1.1, 1.1);
text-shadow: 0px 0px 7px var(--color);
}
.barBase {
overflow: hidden;
-webkit-mask-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAA5JREFUeNpiYGBgAAgwAAAEAAGbA+oJAAAAAElFTkSuQmCC);
display:table
}
.barBorder {
border: 2px solid;
border-radius: 10px;
border-color: var(--color);
overflow: hidden;
-webkit-mask-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAA5JREFUeNpiYGBgAAgwAAAEAAGbA+oJAAAAAElFTkSuQmCC);
margin:0
}
.overlayTextContainer {
z-index: 3;
border-radius: 10px;
vertical-align: middle;
display: flex;
justify-content: center;
align-items: left;
position: absolute;
}
.fill {
background-color: var(--color);
z-index:2;
position: absolute;
overflow: hidden;
margin-left: -0.5px;
}
.overlayText {
z-index: 6;
}
.tabButton {
background-color: transparent;
color: var(--color);
font-size: 20px;
cursor: pointer;
padding: 5px 20px 5px 20px;
margin: 5px 5px 5px 5px;
border-radius: 10px;
border: 2px solid;
border-color: rgba(0, 0, 0, 0.125);
}
.tabButton:hover {
transform: scale(1.1, 1.1);
text-shadow: 0px 0px 7px var(--color);
}
.reset {
height: 120px;
width: 180px;
border-radius: 25%;
border: 4px solid;
border-color: rgba(0, 0, 0, 0.125);
}
.upg {
height: 180px;
width: 180px;
border-radius: 25%;
border: 2px solid;
border-color: rgba(0, 0, 0, 0.125);
font-size: 10px;
}
.achievement {
height: 90px;
width: 90px;
border-radius: 25%;
border: 2px solid;
border-color: rgba(0, 0, 0, 0.125);
font-size: 10px;
color: white;
text-shadow: 0px 0px 2px #000000;
}
.achievement:hover {
box-shadow: 0px 0px 10px var(--points);
z-index: 7;
}
.buyable {
height: 200px;
width: 200px;
border-radius: 25%;
border: 2px solid;
border-color: rgba(0, 0, 0, 0.125);
font-size: 10px;
}
.upgBig {
height: 200px;
width: 200px;
border-radius: 25%;
border: 2px solid;
border-color: rgba(0, 0, 0, 0.125);
}
.longUpg {
height: 50px;
width: 120px;
background: var(--points);
border-radius: 50%;
border: 2px solid;
border-color: rgba(0, 0, 0, 0.125);
font-size: 10px;
}
.smallUpg {
height: 40px;
width: 40px;
border-radius: 25%;
border: 2px solid;
border-color: rgba(0, 0, 0, 0.125);
}
#points {
color: var(--points);
text-shadow: 0px 0px 10px var(--points);
}
a {
color: #ffab40;
text-decoration-line: none;
cursor: pointer
}
.link {
display: block;
font-size: 20px;
color: #ffab40;
text-decoration-line: none;
cursor: pointer;
/*font-family: "Lucida Console", "Courier New", monospace*/;
text-decoration: none;
}
.link:hover {
transform: scale(1.2, 1.2);
text-shadow: 5px 0px 10px #ffab40,
-3px 0px 6px #ffab40;
}
.opt {
height: 100px;
width: 100px;
border-radius: 25%;
border: 4px solid;
background-color: var(--color);
border-color: rgba(255, 255, 255, 0.125) rgba(0, 0, 0, 0.25) rgba(0, 0, 0, 0.25) rgba(255, 255, 255, 0.125);
color: rgba(0, 0, 0, 0.5);
cursor: pointer;
}
.opt:hover {
background-color: #439ea3;
}
.hidden {
visibility: hidden;
height: 50px !important;
}
.canvas {
top: 0;
left: 0;
position: absolute;
z-index: -999;
}
.milestone {
width: 100%;
height: 75px;
background-color: #bf8f8f;
border: 4px solid;
border-radius: 4px;
border-color: rgba(0, 0, 0, 0.125);
color: rgba(0, 0, 0, 0.5);
}
.milestoneDone {
width: 100%;
height: 75px;
background-color: #77bf5f;
border: 4px solid;
border-radius: 4px;
border-color: rgba(0, 0, 0, 0.125);
color: rgba(0, 0, 0, 0.5);
}
.left {
position: absolute;
left: 0;
}
.remove {
height: 24px;
width: 24px;
cursor: pointer;
}
.remove:hover {
transform: scale(1.1, 1.1);
}
.col {
min-width: 49.5%;
max-width: 49.5%;
width: 49.5%;
height: calc(100% - 50px);
min-height: calc(100% - 50px);
column-span: 1;
position: fixed;
overflow-y: auto;
overflow-x: auto;
transition-duration: 0s;
padding-bottom: 20px;
box-sizing: border-box;
}
.instant {
transition-duration: 0s !important
}
.fast {
transition:color none
}
.col.right {
top: 50px;
right: 0;
}
#app {
column-count: 2;
column-width: 50%;
min-height: calc(100% - 50px);
margin-top: 50px;
}
.vl {
border-left: 6px solid var(--color);
height: 100%;
position: fixed;
left: 50%;
margin-left: -3px;
top: 0
}
.vl2 {
border-left: 3px solid var(--color);
height: 100%;
}
.hl {
border-top: 3px solid var(--color);
}
ul {
list-style-type: none;
}
.hChallenge {
background-color: #bf8f8f;
border: 4px solid;
border-color: rgba(0, 0, 0, 0.125);
color: rgba(0, 0, 0, 0.5);
width: 300px;
height: 300px;
font-size: 15px;
border-radius: 33.33%;
}
.hChallenge.done {
background-color: #77bf5f;
}
.hChallenge.canComplete {
background-color: #ffbf00;
}
.fullWidth {
position: fixed;
height: 100%;
width: 100%;
min-width: 100%;
overflow-y: auto;
overflow-x: auto;
transition-duration: 0s
}
[tooltip] {
position: relative;
z-index: 999999 !important
}
[tooltip]:before,
[tooltip]:after {
visibility: hidden;
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
filter: progid: DXImageTransform.Microsoft.Alpha(Opacity=0);
opacity: 0;
pointer-events: none;
white-space: pre-wrap;
}
[tooltip]:before {
position: absolute;
bottom: 100%;
left: 50%;
margin-bottom: 5px;
margin-left: -80px;
padding: 7px;
width: 160px;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
background-color: var(--background_tooltip);
color: var(--points);
content: attr(tooltip);
text-align: center;
font-size: 14px;
line-height: 1.2;
transition-duration: 0.25s;
white-space: pre-wrap;
}
[tooltip]:after {
position: absolute;
bottom: 100%;
left: 50%;
margin-left: -5px;
width: 0;
border-top: 5px solid var(--background_tooltip);
border-right: 5px solid transparent;
border-left: 5px solid transparent;
content: " ";
font-size: 0;
line-height: 0;
transition-duration: 0.25s;
white-space: pre-wrap;
}
[tooltip]:hover:before,
[tooltip]:hover:after {
visibility: visible;
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
filter: progid: DXImageTransform.Microsoft.Alpha(Opacity=100);
opacity: 1;
white-space: pre-wrap;
}
#loadingSection {
display: flex;
flex-direction: column;
justify-content: center;
}
.treeOverlay {
z-index: 200000;
pointer-events:none;
overflow:hidden;
}
.overlayThing {
pointer-events:auto;
background-color: var(--background);
}
.sideLayers {
pointer-events:auto;
position: absolute;
right: 55px;
top: 65px;
}
button > * {
pointer-events:none;
}
.ghost {
visibility: hidden
}
.story {
width: 600px;
max-width: 95%;
border-bottom: solid 4px;
border-radius: 8px;
margin-bottom: 8px;
text-align: left;
}
.story-title {
text-align: left;
font-size: 24px;
color: black;
cursor: pointer;
border: none;
padding: 2px;
border-radius: 8px 8px 0 0;
}
.story-toggle {
border: none;
font-size: 20px;
pointer-events: none;
width: 1em;
display: inline-block;
margin-right: -12px;
}
.story-text {
padding: 2px;
border: solid 4px;
border-color: inherit;
border-radius: inherit;
border-top-left-radius: 0;
margin-bottom: -2px;
}
#treeTab td button {
margin: 0 10px 0 10px;
}
.nav {
background-color: #333c4a;
display: flex;
position: fixed;
left: 0;
right: 0;
top: 0;
height: 50px;
z-index: 9999999;
}
#title {
font-family: "Pacifico", cursive, sans-serif;
font-size: 36px;
text-align: left;
margin-left: 12px;
}
#optionWheel {
height: 50px;
width: 50px;
cursor: pointer;
transition-duration: .5s;
}
#optionWheel:hover {
transform: rotate(360deg);
}
#info {
font-size: 20px;
color: white;
cursor: pointer;
width: 40px;
height: 40px;
-webkit-text-stroke-width: 1px;
-webkit-text-stroke-color: #02f2f2;
line-height: 14px;
}
#info:hover {
transform: scale(1.2, 1.2);
text-shadow: 5px 0px 10px #02f2f2,
-3px 0px 12px #02f2f2;
}
#discord {
width: 40px;
height: 40px;
cursor: pointer;
}
#discord img {
width: 100%;
height: 100%;
}
#discord-links {
position: fixed;
top: 0;
padding: 30px;
padding-top: 80px;
right: -280px;
width: 200px;
transition: right .25s ease;
background: #333c4a;
z-index: -1;
}
#discord:hover #discord-links {
right: 0;
}
#version {
flex-grow: 1;
text-align: left;
margin-left: 12px;
margin-bottom: 0;
}