123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133 |
- * {
- box-sizing: border-box;
- }
-
- body {
- margin: 0;
- font-family: 'Roboto', 'Helvetica Neue', Helvetica, Arial;
- }
-
- /* ---------------------------------------------------------------------------*/
- /* Misc */
- /* ---------------------------------------------------------------------------*/
- .error {
- display: flex;
- flex-direction: column;
- align-items: center;
- font-size: 2.6rem;
- margin: 2rem;
- }
-
- /* ---------------------------------------------------------------------------*/
- /* Header */
- /* ---------------------------------------------------------------------------*/
- .navbar {
- display: flex;
- flex-direction: row;
- height: 3rem;
- background-color: #4CAF50;
- color: #FFF;
- font-size: 1.8rem;
- line-height: 3rem;
- }
- .navbar-item, .plain-navbar-item {
- padding: 0 .5rem;
- }
- .navbar-item:hover {
- cursor: pointer;
- background-color: #999;
- }
- .flex-navbar-item {
- flex: 1;
- }
- .navbar-item.account-id {
- display: flex;
- flex-direction: column;
- margin-right: 1rem;
- }
- .navbar-item.account-id .heading {
- font-size: 0.8rem;
- line-height: 0.9rem;
- color: rgb(217, 216, 219);
- text-align: center;
- text-transform: uppercase;
- margin-top: 0.4rem;
- }
- .navbar-item.account-id .value {
- font-size: 1.5rem;
- line-height: 1.5rem;
- }
- .navbar-item.account-id:hover {
- cursor: initial;
- background-color: inherit;
- }
-
- /* ---------------------------------------------------------------------------*/
- /* List of decks */
- /* ---------------------------------------------------------------------------*/
- .decks {
- margin-top: 1rem;
- display: flex;
- flex-direction: row;
- flex-wrap: wrap;
- }
-
- .deck-tile {
- margin: .5rem;
- width: 20rem;
- height: 12rem;
- border: 1px solid gray;
-
- display: flex;
- flex-direction: column;
-
- page-break-inside: avoid;
- }
- .deck-tile :hover {
- background-color: rgb(200, 200, 255);
- }
- .deck-tile-content {
- flex-grow: 1;
- display: flex;
- flex-direction: column;
-
- background-color: white;
-
- page-break-inside: avoid;
- }
- .deck-tile-header {
- font-weight: 700;
- padding: 1rem;
- font-size: 1.28571429em;
- line-height: 1.2857em;
- background-color: #3F51B5;
- color: white;
- }
- .deck-tile-meta {
- font-size: 1em;
- color: rgba(0,0,0,.4);
- }
- .deck-tile-body {
- flex: 1;
- padding: 1rem;
- display: flex;
- justify-content: center;
- flex-direction: column;
- align-items: center;
- }
- .deck-tile-body-item {
- /* Vertical centering */
- /*
- display: flex;
- flex-direction: column;
- justify-content: center;
- */
- width: 100%;
- padding: 0 1rem;
- flex: 1;
- }
- .deck-tile-footer {
- padding: 0.5rem;
- color: #a8a8a8;
- background: #eaeaea;
- }
|