tarotcard.css/test/index.html

175 lines
5.2 KiB
HTML
Raw Normal View History

2023-12-01 13:59:53 +00:00
<!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" />
2023-12-01 13:59:53 +00:00
<title>tarotcard.css Test Page</title>
<style>
body {
height: 100vh;
background: #000056;
2023-12-01 16:43:12 +00:00
margin: 0 auto;
2023-12-01 16:45:28 +00:00
overflow-y: hidden;
2023-12-01 13:59:53 +00:00
}
.center-grid {
height: 100vh;
2023-12-01 15:09:30 +00:00
display: flex;
justify-content: space-evenly;
align-items: center;
2023-12-01 13:59:53 +00:00
}
2023-12-02 13:12:22 +00:00
2023-12-02 13:30:23 +00:00
.flip-card-back-section {
2023-12-02 13:12:22 +00:00
height: 100%;
background: white;
}
2023-12-01 13:59:53 +00:00
</style>
<link rel="stylesheet" href="styles/tarotcard.css"/>
2023-12-01 15:09:05 +00:00
<link rel="stylesheet" href="styles/tarotcard-deal.css"/>
2023-12-01 17:36:00 +00:00
<link rel="stylesheet" href="styles/tarotcard-flip.css"/>
2023-12-01 13:59:53 +00:00
</head>
<body>
<div class="center-grid">
2023-12-01 15:09:05 +00:00
<!-- Simplest possible card. Just displays a title and a piece of artwork. -->
2023-12-02 13:12:22 +00:00
<!--
2023-12-01 13:59:53 +00:00
<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">
2023-12-02 11:29:49 +00:00
<p class="tarot-card__title">This card has a title with very long text.</p>
</div>
</div>
2023-12-01 13:59:53 +00:00
</div>
2023-12-02 13:12:22 +00:00
-->
2023-12-01 13:59:53 +00:00
2023-12-02 15:14:23 +00:00
<!-- 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>
2023-12-01 15:09:05 +00:00
<!-- Identical to The Simple Card, but uses the "deal" animation to slide in when the page is loaded. -->
2023-12-02 13:12:22 +00:00
<!--
2023-12-01 16:43:12 +00:00
<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>
2023-12-01 15:09:05 +00:00
</div>
</div>
2023-12-02 13:12:22 +00:00
-->
<!-- Uses the "flip" animation to turn over to the other side when hovered on. -->
2023-12-02 15:14:23 +00:00
<!--
2023-12-02 13:12:22 +00:00
<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>
2023-12-01 15:09:05 +00:00
<div class="tarot-card__section tarot-card__section--title">
<p class="tarot-card__title">The Flip Card.</p>
</div>
</div>
2023-12-02 13:12:22 +00:00
2023-12-02 10:46:43 +00:00
<div class="tarot-card__side tarot-card__side--back">
2023-12-02 13:30:23 +00:00
<div class="tarot-card__section flip-card-back-section">
2023-12-02 13:12:22 +00:00
<p>This is the back side of The Flip Card.</p>
</div>
2023-12-02 10:46:43 +00:00
</div>
2023-12-01 15:09:05 +00:00
</div>
</div>
2023-12-02 15:14:23 +00:00
-->
2023-12-01 15:09:05 +00:00
<!-- Uses both the "deal" and "flip" animations. -->
2023-12-02 15:14:23 +00:00
<!--
<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">
2023-12-02 13:30:23 +00:00
<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>
2023-12-02 15:14:23 +00:00
-->
2023-12-02 13:30:23 +00:00
<!-- Uses the "automatic flip" animation. -->
2023-12-02 15:14:23 +00:00
<!--
<div id="auto-flip-card" class="tarot-card tarot-card--flip-automatically">
2023-12-02 13:30:23 +00:00
<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>
2023-12-02 15:14:23 +00:00
-->
2023-12-01 13:59:53 +00:00
</div>
</body>
</html>