1 /* The person who associated a work with this deed has dedicated the
2 work to the public domain by waiving all of his or her rights to
3 the work worldwide under copyright law, including all related and
4 neighboring rights, to the extent allowed by law.
6 You can copy, modify, distribute and perform the work, even for
7 commercial purposes, all without asking permission.
9 See https://creativecommons.org/publicdomain/zero/1.0/ for details.
12 /* However, we would appreciate it if you kept this link in the file,
13 to help inform other people about what it does and how they can use
14 it -- https://yukkurigames.com/choicecss/choicecss.html#0
17 /* These properties are set to values required for choice.css to
18 function. Do not override them. */
31 nav
, main
, section
, header
{
42 -webkit-overflow-scrolling: touch
;
44 -webkit-box-sizing: border-box
;
45 -moz-box-sizing: border-box
;
46 box-sizing: border-box
;
49 -webkit-transition: all
0.333s, -webkit-transform
0.333s;
50 -moz-transition: all
0.333s;
51 -o-transition: all
0.333s;
52 transition: all
0.333s;
53 -webkit-transition-timing-function: ease-in-out
;
54 -moz-transition-timing-function: ease-in-out
;
55 -o-transition-timing-function: ease-in-out
;
56 transition-timing-function: ease-in-out
;
58 -webkit-transform: translate
(0, -50%) scale
(1, 1) rotate
(0);
59 -moz-transform: translate
(0, -50%) scale
(1, 1) rotate
(0);
60 -ms-transform: translate
(0, -50%) scale
(1, 1) rotate
(0);
61 -o-transform: translate
(0, -50%) scale
(1, 1) rotate
(0);
62 transform: translate
(0, -50%) scale
(1, 1) rotate
(0);
64 /* These are three possible appearance transitions for sections.
65 Sections receive a default transition for variety, but may also be
66 manually specified to override the default. */
68 section:nth-child
(3n), section
.hpop
{
69 /* Horizontal pop-in */
70 -webkit-transform: translate
(0, -50%) scale
(0, 1) rotate
(0);
71 -moz-transform: translate
(0, -50%) scale
(0, 1) rotate
(0);
72 -ms-transform: translate
(0, -50%) scale
(0, 1) rotate
(0);
73 -o-transform: translate
(0, -50%) scale
(0, 1) rotate
(0);
74 transform: translate
(0, -50%) scale
(0, 1) rotate
(0);
77 section:nth-child
(3n+1), section
.vpop
{
79 -webkit-transform: translate
(0, -50%) scale
(1, 0) rotate
(0);
80 -moz-transform: translate
(0, -50%) scale
(1, 0) rotate
(0);
81 -ms-transform: translate
(0, -50%) scale
(1, 0) rotate
(0);
82 -o-transform: translate
(0, -50%) scale
(1, 0) rotate
(0);
83 transform: translate
(0, -50%) scale
(1, 0) rotate
(0);
86 section:nth-child
(3n+2), section
.fade
{
91 section:target
, section:last-child
{
92 /* Delay new appearance until the previous section is finishing. */
93 -webkit-transition-delay: 0.25s;
94 -moz-transition-delay: 0.25s;
95 -o-transition-delay: 0.25s;
96 transition-delay: 0.25s;
98 /* Reset everything set in the animation styles. */
101 -webkit-transform: translate
(0, -50%) scale
(1, 1) rotate
(0);
102 -moz-transform: translate
(0, -50%) scale
(1, 1) rotate
(0);
103 -ms-transform: translate
(0, -50%) scale
(1, 1) rotate
(0);
104 -o-transform: translate
(0, -50%) scale
(1, 1) rotate
(0);
105 transform: translate
(0, -50%) scale
(1, 1) rotate
(0);
109 section:target
~ section:last-child
{
113 /* These properties may be modified within limits. */
116 /* This needs to be big enough for a reasonable amount of text. */
125 /* The left and right margins and maximum size may be modified, but
126 must be set (and less than 100%). */
151 -webkit-transform: translate
(0, 0) scale
(1, 1) rotate
(0) !important
;
152 -moz-transform: translate
(0, 0) scale
(1, 1) rotate
(0) !important
;
153 -ms-transform: translate
(0, 0) scale
(1, 1) rotate
(0) !important
;
154 -o-transform: translate
(0, 0) scale
(1, 1) rotate
(0) !important
;
155 transform: translate
(0, 0) scale
(1, 1) rotate
(0) !important
;
156 opacity: 1 !important
;
157 visibility: visible
!important
;
162 content: "(Section #" attr
(id
) ")";
165 section a
[href^
="#"]:not
(.no-section
):after
{
166 content: " (section " attr
(href
) ")";
174 /* Most other properties may be modified freely. */