upgrayedd

This commit is contained in:
Kyle
2020-03-28 18:11:40 -07:00
parent 84d478350d
commit 3668b99311
56 changed files with 354 additions and 134 deletions

View File

@@ -0,0 +1,58 @@
.askScryfallGrid {
display: grid;
grid-template-columns: 1fr 1fr 1fr;
grid-template-rows: auto 90pt auto;
align-items: center;
justify-items: center;
}
.urzaCard {
width: 360pt;
text-align: center;
grid-column: 1 / span 3;
}
.urzaCard > img {
position: relative;
left: -2rem;
width: 360pt;
height: auto;
}
img {
position: relative;
left: -1rem;
}
.askScryfallGrid > * {
/*border: 1px solid red;*/
}
.askScryfallButton {
width: auto;
height: 60pt;
transition: 0.25s;
}
.askScryfallButton:hover {
height: 80pt;
}
.askScryfallButton:active {
height: 90pt !important;
}
#askScryfallResult {
grid-column: 1 / span 3;
padding: 2rem;
margin: 1rem;
background: var(--background-color-contrast);
color: var(--font-color-contrast);
border-radius: 1rem;
font: 2rem belerenb;
}
@media screen and (min-width: 864pt) {
.askScryfallGrid {
grid-template-columns: calc(360pt) 1fr 1fr 1fr !important;
grid-template-rows: 90pt auto !important;
}
.urzaCard {
grid-column: 1;
grid-row: 1 / span 2 !important;
}
#askScryfallResult {
grid-column: 2 / span 3 !important;
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 700 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 255 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 93 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 MiB

After

Width:  |  Height:  |  Size: 3.3 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 MiB

After

Width:  |  Height:  |  Size: 3.5 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 869 KiB

After

Width:  |  Height:  |  Size: 3.8 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 MiB

After

Width:  |  Height:  |  Size: 3.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 MiB

After

Width:  |  Height:  |  Size: 4.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 MiB

View File

@@ -41,7 +41,9 @@
--background-color-contrast: #333;
--interactable-color: #aaa;
--interactable-selected-color: #777;
--interactable-tiling: 100% 100%;
--input-color: #ddd;
--input-font-color: #000;
--font-color: #000;
--font-color-contrast: #eee;
--body-background: none;
@@ -82,7 +84,7 @@ a:hover {
.title {
text-align: center;
color: var(--font-color);
/*color: var(--font-color);*/
font: 2.5rem 'belerenbsc';
padding: 1rem 0;
}
@@ -97,6 +99,8 @@ a:hover {
grid-template-columns: 2rem auto 2rem;
align-items: center;
background: var(--interactable-color);
color: var(--input-font-color);
background-size: var(--interactable-tiling);
cursor: pointer;
}
.cardMasterElement > .handle {
@@ -162,6 +166,8 @@ img {
}
#maskPicker > div, #framePicker > div {
background: var(--interactable-color);
color: var(--input-font-color);
background-size: var(--interactable-tiling);
cursor: pointer;
}
#maskPicker > div {
@@ -179,6 +185,8 @@ img {
#textPicker > div {
font: 1rem belerenbsc;
background: var(--interactable-color);
color: var(--input-font-color);
background-size: var(--interactable-tiling);
padding: 0.5rem;
cursor: pointer;
}
@@ -223,6 +231,8 @@ textarea {
text-align: center;
padding: 0.5rem 0;
background: var(--interactable-color);
color: var(--input-font-color);
background-size: var(--interactable-tiling);
cursor: pointer;
}
.tabPicker > div.tabOptionSelected {
@@ -231,7 +241,7 @@ textarea {
input:not([type='checkbox']), textarea, button, select {
font: inherit;
color: var(--font-color);
color: var(--input-font-color);
width: 100%;
background: var(--input-color);
border: none;
@@ -240,7 +250,7 @@ input:not([type='checkbox']), textarea, button, select {
margin-top: 0.1rem;
}
input:not([type='checkbox']):active, textarea:active, button:active {
border: 0.1rem solid var(--interactable-color);
border: 0.1rem solid var(--input-font-color);
padding: 0.1rem;
}
input[type='checkbox'] {
@@ -275,6 +285,7 @@ input[type='checkbox'], select, option, input[type='file'], button {
}
.darkLayer {
background: var(--background-color-contrast);
background-size: 100% 100%;
color: var(--font-color-contrast);
}
.layer > div {
@@ -286,19 +297,17 @@ input[type='checkbox'], select, option, input[type='file'], button {
.layer.revealedLayer.fadeIn > div {
animation: fade-in 2s;
}
.mainGrid.fadeIn {
animation: fade-in 0.5s;
}
.layer.revealedLayer.slideFromLeft > div {
animation: slide-from-left 2s;
animation: slide-from-left 1.5s;
}
.layer.revealedLayer.slideFromRight > div {
animation: slide-from-right 2s;
animation: slide-from-right 1.5s;
}
.footer {
padding: 2rem;
background: var(--background-color-contrast);
background-size: 100% 100%;
color: var(--font-color-contrast);
font: 0.6rem arial;
display: grid;
@@ -367,4 +376,19 @@ input[type='checkbox'], select, option, input[type='file'], button {
.paragraph {
text-indent: 2em;
}
.cardLayerGrid {
display: grid;
grid-template-columns: auto auto;
grid-gap: 1rem;
justify-items: center;
align-items: center;
}
.cardLayerGrid > img {
width: 300pt;
height: auto;
}
.truncate {
word-break: break-word;
}