Skip to content
This repository has been archived by the owner on Sep 24, 2023. It is now read-only.

Commit

Permalink
[feat] fix up
Browse files Browse the repository at this point in the history
  • Loading branch information
mcclowes committed Jul 21, 2020
1 parent 23648f4 commit 0b1c6ff
Show file tree
Hide file tree
Showing 5 changed files with 318 additions and 383 deletions.
145 changes: 70 additions & 75 deletions examples/mtg/debug.html
Original file line number Diff line number Diff line change
Expand Up @@ -117,64 +117,62 @@
.frame-art,
.frame-type-line {
box-shadow:
0 0 0 2px #171314,
0 0 0 5px #26714A,
-3px 3px 2px 5px #171314;
0 0 0 2px #171314,
0 0 0 5px #26714A,
-3px 3px 2px 5px #171314;

margin-bottom: 7px;
}

.frame-text-box {
box-shadow:
0 0 0 5px #26714A,
-3px 3px 2px 5px #171314;
box-shadow:
0 0 0 5px #26714A,
-3px 3px 2px 5px #171314;
}

/*
----------------------
----------------------
OVERFLOW
----------------------
----------------------
----------------------
----------------------
OVERFLOW
----------------------
----------------------
*/
.frame-header,
.frame-type-line,
.frame-text-box {
overflow: hidden;
overflow: hidden;
}


/*
----------------------------------------
----------------------------------------
CARD FRAME
CARD FRAME
----------------------------------------
----------------------------------------
*/
.card-frame {
z-index: 1;
position: relative;
height: 108%;
max-width: 97%;
left: 1%;
top: 0.5%;
left: 1.2%;
display: flex;
flex-direction: column;
z-index: 1;
position: relative;
height: 108%;
max-width: 97%;
left: 1%;
top: 0.5%;
left: 1.2%;
display: flex;
flex-direction: column;
}



.frame-header,
.frame-type-line {
background:
linear-gradient( 0deg, rgba(201, 216, 201, .3), rgba(201, 216, 209, .3) ),
url(https://image.ibb.co/jKByZn/tile_bg_1.jpg);
linear-gradient( 0deg, rgba(201, 216, 201, .3), rgba(201, 216, 209, .3) ),
url(https://image.ibb.co/jKByZn/tile_bg_1.jpg);
display: flex;
margin-top: 10px;
margin-left: 5px;
margin-right: 5px;
padding: 8px 0;
margin-top: 4%;
margin-left: 2%;
margin-right: 2%;
padding: 3% 0;
display: flex;
justify-content: space-between;
border-radius: 18px/40px;
Expand All @@ -183,20 +181,20 @@
.name,
.type {
font-size: 100%;
margin-left: 10px;
margin-left: 3%;
align-self: baseline;
font-weight: 600;
}

#mana-icon {
font-size: 1.4em;
background: #ADD3AC;
border-radius: 50%;
box-sizing: border-box;
box-shadow: -0.05em 0.12em 0px 0 black;
margin-right: 5px;
height: 20px;
align-self: center;
font-size: 1.4em;
background: #ADD3AC;
border-radius: 50%;
box-sizing: border-box;
box-shadow: -0.05em 0.12em 0px 0 black;
margin-right: 5px;
height: 20px;
align-self: center;
}

.frame-art {
Expand All @@ -206,63 +204,63 @@
}

#set-icon {
height: 9%;
width: 6%;
overflow: hidden;
margin-right: 10px;
align-self: center;
height: 9%;
width: 6%;
overflow: hidden;
margin-right: 10px;
align-self: center;
}

.frame-type-line {
margin-top: 0;
margin-top: 0;
}

.frame-text-box {
margin: 0 10px;
background: #d3ded6;
background-image: url(https://image.ibb.co/dFcNx7/tile_bg_2.jpg);
display: flex;
flex-direction: column;
justify-content: space-around;
padding: 50px 6px;
font-size: 1.2em;
margin: 0 10px;
background: #d3ded6;
background-image: url(https://image.ibb.co/dFcNx7/tile_bg_2.jpg);
display: flex;
flex-direction: column;
justify-content: space-around;
padding: 50px 6px;
font-size: 50%;
}

.flavour-text {
font-style: italic;
padding: 10px 0;
font-style: italic;
padding: 10px 0;
}

p {
margin-bottom: 5px;
margin-bottom: 5px;
}

.ftb-inner-margin {
margin: 5px 1px;
margin: 5px 1px;
}

.frame-bottom-info {
color: white;
display: flex;
justify-content: space-between;
margin: 5px 15px 0 15px;
color: white;
display: flex;
justify-content: space-between;
margin: 5px 15px 0 15px;
}

/* frame bottom indent */

.fbi-left {
flex: 1;
flex: 1;
}

.fbi-left p:first-of-type {
margin-bottom: 1px;
margin-bottom: 1px;
}

.fbi-left,
.fbi-right {
font-size: 10px;
position: relative;
top: 6px;
font-size: 10px;
position: relative;
top: 6px;
}

.fbi-center {
Expand All @@ -275,23 +273,20 @@
background: lightgray;
background-image: url(https://image.ibb.co/jyq34n/holofoil_texture_2.jpg);
box-shadow:
0 0 0 4px #171314;
0 0 0 4px #171314;
}

.inner-margins {
margin: 0 10px;
margin: 0 10px;
} */




.fbi-right {
flex: 1;
text-align: right;
flex: 1;
text-align: right;
}
.frame-bottom-info img {
overflow: hidden;
max-width: 10px;
overflow: hidden;
max-width: 10px;
}
</style>
</head>
Expand Down
Loading

0 comments on commit 0b1c6ff

Please sign in to comment.