tome-web/client/styles.css

240 lines
3.3 KiB
CSS
Raw Normal View History

2021-09-24 06:51:17 -04:00
* {
font-family: sans-serif;
box-sizing: border-box;
2021-09-24 06:51:17 -04:00
}
2021-09-23 23:34:33 -04:00
h1 {
font-size: 3em;
}
h2 {
font-size: 2em;
}
2021-09-23 22:37:47 -04:00
.page {
height: 100%;
width: 100%;
display: flex;
flex-direction: column;
2021-09-23 23:34:33 -04:00
background-color: #ad9885;
2021-09-23 22:37:47 -04:00
}
2021-09-23 23:34:33 -04:00
/* Login and Intro pages */
.vertical-ribbon {
position: absolute;
right: 30%;
top: 0;
bottom: 0;
width: 90px;
background-color: #d1345b;
box-shadow: -2px 2px 4px rgba(0, 0, 0, 0.25);
}
.intro-title-card-ribbon {
position: relative;
left: 0;
right: 0;
top: 15%;
height: 240px;
background-color: #942911;
box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}
.intro-title-ribbon {
position: absolute;
left: 0;
right: 0;
top: 2em;
bottom: 2em;
padding: 0 25%;
z-index: 1;
background-color: #3454d1;
box-shadow: 2px 8px 4px 1px rgba(0, 0, 0, 0.25);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.into-title-container {
width: 100%;
display: flex;
justify-content: flex-end;
align-items: center;
}
.intro-title-text {
color: #ddf6fd;
margin-right: 1em;
}
.intro-main {
position: absolute;
bottom: 35%;
left: 30%;
}
.tassle {
position: absolute;
left: 5%;
top: 0;
z-index: 2;
width: 105px;
height: 415px;
object-fit: cover;
object-position: 0% 0%;
margin-top: -85px;
overflow: hidden;
}
2021-09-24 06:51:17 -04:00
.menu-button {
font-size: 2em;
height: 2em;
width: 4em;
background-color: #ffe7d1;
border: 0.1em solid #b85900;
border-radius: 0.5em;
box-shadow: -2px 2px 0 rgba(144, 90, 39, 0.25);
}
2021-09-23 23:34:33 -04:00
/* Common pages */
2021-09-23 22:37:47 -04:00
.header {
height: 90px;
flex: 0 0 auto;
background-color: #3454d1;
2021-09-23 22:37:47 -04:00
padding-left: 2em;
padding-right: 2em;
box-shadow: 2px 8px 4px 1px rgba(0, 0, 0, 0.25);
2021-09-23 22:37:47 -04:00
display: flex;
align-items: center;
justify-content: space-between;
}
.header-text {
font-family: sans-serif;
color: #ddf6fd;
2021-09-23 22:37:47 -04:00
}
.main {
flex: auto;
display: flex;
align-items: center;
justify-content: center;
}
.frame {
display: flex;
justify-content: space-evenly;
}
2021-09-24 02:58:41 -04:00
/* Game */
.game-container {
height: 100%;
width: 100%;
display: flex;
flex-direction: row;
}
.game-sidebar {
2021-09-24 06:51:17 -04:00
flex: 0 0 auto;
width: 10em;
padding: 1em;
2021-09-24 02:58:41 -04:00
display: flex;
flex-direction: column;
justify-content: space-between;
2021-09-24 06:51:17 -04:00
text-align: center;
background: #942911;
color: #ddf6fd;
}
.player-info {
padding: 1em;
background-color: #c4c4c4;
color: #000000;
2021-09-24 02:58:41 -04:00
}
.game-board {
flex: auto;
display: flex;
flex-direction: column;
justify-content: space-evenly;
align-items: center;
}
.fighter-area {
display: flex;
justify-content: space-evenly;
align-items: center;
}
2021-09-30 22:05:51 -04:00
.draw-choices {
display: flex;
justify-content: center;
align-items: center;
}
2021-09-24 02:58:41 -04:00
.hand {
display: flex;
justify-content: center;
text-align: center;
}
.board-slot {
display: flex;
flex-direction: column;
align-items: center;
}
.board-card {
width: 5em;
height: 7em;
margin: 0 1em;
}
.card-button {
width: 10em;
height: 14em;
margin: 0 1em;
background: transparent;
border: none;
}
.card-button:disabled {
cursor: not-allowed;
}
.card-back {
background: grey;
display: flex;
justify-content: center;
align-items: center;
font-size: 0.7em;
}
.selected {
box-shadow: 0px 0px 8px 4px rgba(245, 194, 10, 0.5);
}
.card-image {
width: 100%;
height: 100%;
}