fix card suit color
This commit is contained in:
parent
c4ed006020
commit
c3e3711afe
@ -1,17 +1,18 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
||||||
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
|
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
|
||||||
<title><%= htmlWebpackPlugin.options.title %></title>
|
<script src="https://twemoji.maxcdn.com/v/latest/twemoji.min.js" crossorigin="anonymous"></script>
|
||||||
</head>
|
<title><%= htmlWebpackPlugin.options.title %></title>
|
||||||
<body>
|
</head>
|
||||||
<noscript>
|
<body>
|
||||||
<strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
|
<noscript>
|
||||||
</noscript>
|
<strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
|
||||||
<div id="app"></div>
|
</noscript>
|
||||||
<!-- built files will be auto injected -->
|
<div id="app"></div>
|
||||||
</body>
|
<!-- built files will be auto injected -->
|
||||||
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -117,12 +117,14 @@ export default {
|
|||||||
|
|
||||||
<style>
|
<style>
|
||||||
#app {
|
#app {
|
||||||
font-family: Avenir, Helvetica, Arial, sans-serif;
|
|
||||||
-webkit-font-smoothing: antialiased;
|
-webkit-font-smoothing: antialiased;
|
||||||
-moz-osx-font-smoothing: grayscale;
|
-moz-osx-font-smoothing: grayscale;
|
||||||
color: #2c3e50;
|
color: #2c3e50;
|
||||||
margin: 60px;
|
margin: 60px;
|
||||||
}
|
}
|
||||||
|
h1,h2,h3,h4,p,span{
|
||||||
|
font-family: Avenir, Helvetica, Arial, sans-serif;
|
||||||
|
}
|
||||||
.center-stuff {
|
.center-stuff {
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<div :class="{ card: true, equipment: card.is_equipment, character:card.is_character }">
|
<div :class="{ card: true, equipment: card.is_equipment, character:card.is_character }">
|
||||||
<h4>{{card.name}}</h4>
|
<h4>{{card.name}}</h4>
|
||||||
<div class="emoji">{{card.icon}}</div>
|
<div class="emoji">{{card.icon}}</div>
|
||||||
<span>{{card.number}}{{suit}}</span>
|
<div class="suit">{{card.number}}{{suit}}</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@ -78,7 +78,7 @@ export default {
|
|||||||
font-size:26pt;
|
font-size:26pt;
|
||||||
top: 35%;
|
top: 35%;
|
||||||
}
|
}
|
||||||
.card span {
|
.card .suit {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: 3pt;
|
bottom: 3pt;
|
||||||
left:3pt;
|
left:3pt;
|
||||||
|
Loading…
Reference in New Issue
Block a user