tarotcard.css/test/index.html

175 lines
5.2 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<meta name="HandheldFriendly" content="true" />
<meta name="MobileOptimized" content="320" />
<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, width=device-width, user-scalable=no" />
<title>tarotcard.css Test Page</title>
<style>
body {
height: 100vh;
background: #000056;
margin: 0 auto;
overflow-y: hidden;
}
.center-grid {
height: 100vh;
display: flex;
justify-content: space-evenly;
align-items: center;
}
.flip-card-back-section {
height: 100%;
background: white;
}
</style>
<link rel="stylesheet" href="styles/tarotcard.css"/>
<link rel="stylesheet" href="styles/tarotcard-deal.css"/>
<link rel="stylesheet" href="styles/tarotcard-flip.css"/>
</head>
<body>
<div class="center-grid">
<!-- Simplest possible card. Just displays a title and a piece of artwork. -->
<!--
<div id="simple-card" class="tarot-card">
<div class="tarot-card__content">
<div class="tarot-card__section tarot-card__section--art">
<img class="tarot-card__art"
src="images/card_art_std.jpg"
alt="The Simple Card artwork image."
title="The Simple Card artwork image." />
</div>
<div class="tarot-card__section tarot-card__section--title">
<p class="tarot-card__title">This card has a title with very long text.</p>
</div>
</div>
</div>
-->
<!-- Simplest possible card. Just displays a title and a piece of artwork. -->
<div id="link-card" class="tarot-card">
<a class="tarot-card__link" href="https://themagician.cc">
<div class="tarot-card__content">
<div class="tarot-card__section tarot-card__section--art">
<img class="tarot-card__art"
src="images/card_art_std.jpg"
alt="The Link Card artwork image."
title="The Link Card artwork image." />
</div>
<div class="tarot-card__section tarot-card__section--title">
<p class="tarot-card__title">The Link Card.</p>
</div>
</div>
</a>
</div>
<!-- Identical to The Simple Card, but uses the "deal" animation to slide in when the page is loaded. -->
<!--
<div id="deal-card" class="tarot-card tarot-card--deal">
<div class="tarot-card__content">
<div class="tarot-card__section tarot-card__section--art">
<img class="tarot-card__art"
src="images/card_art_std.jpg"
alt="The Deal Card artwork image."
title="The Deal Card artwork image." />
</div>
<div class="tarot-card__section tarot-card__section--title">
<p class="tarot-card__title">The Deal Card.</p>
</div>
</div>
</div>
-->
<!-- Uses the "flip" animation to turn over to the other side when hovered on. -->
<!--
<div id="flip-card" class="tarot-card tarot-card--flip-on-hover">
<div class="tarot-card__content">
<div class="tarot-card__side tarot-card__side--front">
<div class="tarot-card__section tarot-card__section--art">
<img class="tarot-card__art"
src="images/card_art_std.jpg"
alt="The Flip Card artwork image."
title="The Flip Card artwork image." />
</div>
<div class="tarot-card__section tarot-card__section--title">
<p class="tarot-card__title">The Flip Card.</p>
</div>
</div>
<div class="tarot-card__side tarot-card__side--back">
<div class="tarot-card__section flip-card-back-section">
<p>This is the back side of The Flip Card.</p>
</div>
</div>
</div>
</div>
-->
<!-- Uses both the "deal" and "flip" animations. -->
<!--
<div id="deal-flip-card" class="tarot-card tarot-card--deal tarot-card--flip-on-hover">
<div class="tarot-card__content">
<div class="tarot-card__side tarot-card__side--front">
<div class="tarot-card__section tarot-card__section--art">
<img class="tarot-card__art"
src="images/card_art_std.jpg"
alt="The Deal/Flip Card artwork image."
title="The Deal/Flip Card artwork image." />
</div>
<div class="tarot-card__section tarot-card__section--title">
<p class="tarot-card__title">The Deal/Flip Card.</p>
</div>
</div>
<div class="tarot-card__side tarot-card__side--back">
<div class="tarot-card__section flip-card-back-section">
<p>This is the back side of The Deal/Flip Card.</p>
</div>
</div>
</div>
</div>
-->
<!-- Uses the "automatic flip" animation. -->
<!--
<div id="auto-flip-card" class="tarot-card tarot-card--flip-automatically">
<div class="tarot-card__content">
<div class="tarot-card__side tarot-card__side--front">
<div class="tarot-card__section tarot-card__section--art">
<img class="tarot-card__art"
src="images/card_art_std.jpg"
alt="The Autoflip Card artwork image."
title="The Autoflip Card artwork image." />
</div>
<div class="tarot-card__section tarot-card__section--title">
<p class="tarot-card__title">The Autoflip Card.</p>
</div>
</div>
<div class="tarot-card__side tarot-card__side--back">
<div class="tarot-card__section flip-card-back-section">
<p>This is the back side of The Autoflip Card.</p>
</div>
</div>
</div>
</div>
-->
</div>
</body>
</html>