Dark Venture Stuff

Check-in [fd8c70b174]
Login

Check-in [fd8c70b174]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Typo fix in some CSS names: dd- prefix replaced with dv- (dd- is from this code's predecessor/sibling).
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: fd8c70b174a2b63a56efb3a4f3a36a1f6af63631681c7a39aec043f5d06604da
User & Date: stephan 2022-06-02 22:20:26
Context
2024-10-14
23:02
Add an achtung about 2024-era Firefoxes miscalculating the line-height of cards, leading to out-of-bounds rendering. Leaf check-in: e8277771ae user: stephan tags: trunk
2022-06-02
22:20
Typo fix in some CSS names: dd- prefix replaced with dv- (dd- is from this code's predecessor/sibling). check-in: fd8c70b174 user: stephan tags: trunk
2020-12-17
23:27
Added a couple experimental Heroic Quests. Tweaked wording of Maximum Effort quest. check-in: 3dc57aecbb user: stephan tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to dv.d/css/standard-cards.css.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/************************************************************************
LICENSE:

This file is released into the Public Domain by its author:

Stephan Beal
https://wanderinghorse.net

What follows is CSS related (only) to the "large" (63.5x88.9mm) DV
cards, specifically Heroic Quest cards.
************************************************************************/

/**
   dd-card-wrapper-standard settings may/should be overridden by
   app-level CSS.
*/
.dv-card-wrapper-standard {
    padding: 0;
    margin: 0;
    display: inline-block;
    color: inherit;













|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/************************************************************************
LICENSE:

This file is released into the Public Domain by its author:

Stephan Beal
https://wanderinghorse.net

What follows is CSS related (only) to the "large" (63.5x88.9mm) DV
cards, specifically Heroic Quest cards.
************************************************************************/

/**
   dv-card-wrapper-standard settings may/should be overridden by
   app-level CSS.
*/
.dv-card-wrapper-standard {
    padding: 0;
    margin: 0;
    display: inline-block;
    color: inherit;

Changes to dv.d/css/standard-cards.in.css.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/************************************************************************
LICENSE:

This file is released into the Public Domain by its author:

Stephan Beal
https://wanderinghorse.net

What follows is CSS related (only) to the "large" (63.5x88.9mm) DV
cards, specifically Heroic Quest cards.
************************************************************************/

/**
   dd-card-wrapper-standard settings may/should be overridden by
   app-level CSS.
*/
.dv-card-wrapper-standard {
    padding: 0;
    margin: 0;
    display: inline-block;
    color: inherit;













|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/************************************************************************
LICENSE:

This file is released into the Public Domain by its author:

Stephan Beal
https://wanderinghorse.net

What follows is CSS related (only) to the "large" (63.5x88.9mm) DV
cards, specifically Heroic Quest cards.
************************************************************************/

/**
   dv-card-wrapper-standard settings may/should be overridden by
   app-level CSS.
*/
.dv-card-wrapper-standard {
    padding: 0;
    margin: 0;
    display: inline-block;
    color: inherit;

Changes to index.html.

132
133
134
135
136
137
138
139
140
141
142
143
144
145
146

    <p>Both Heroic Quests and Side Quests have identical DOM
      structures. They differ mainly in their CSS classes and how CSS
      lays out those structures. This section describes that layout
      and the corresponding CSS classes.</p>

    <ul>
      <li><tt>DIV.dd-card-wrapper-SIZE</tt>, where SIZE is one of "mini"
        (for small-format cards) or "standard" (for standard-sized
        cards). This element is not strictly part of the card, but is useful
        for layout purposes, in particular applying (or removing) a border to provide
        cutting lines.
        <ul>
          <li><tt>DIV.dv-card.dv-card-size-SIZE.dv-card-TYPE</tt>, where
            SIZE is the same as described above and TYPE is either "sidequest"







|







132
133
134
135
136
137
138
139
140
141
142
143
144
145
146

    <p>Both Heroic Quests and Side Quests have identical DOM
      structures. They differ mainly in their CSS classes and how CSS
      lays out those structures. This section describes that layout
      and the corresponding CSS classes.</p>

    <ul>
      <li><tt>DIV.dv-card-wrapper-SIZE</tt>, where SIZE is one of "mini"
        (for small-format cards) or "standard" (for standard-sized
        cards). This element is not strictly part of the card, but is useful
        for layout purposes, in particular applying (or removing) a border to provide
        cutting lines.
        <ul>
          <li><tt>DIV.dv-card.dv-card-size-SIZE.dv-card-TYPE</tt>, where
            SIZE is the same as described above and TYPE is either "sidequest"
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
                characters (e.g. 1-3).
              </li>
              <li><tt>SECTION.card-name</tt> contains the name of the card.
              </li>
              <li><tt>SECTION.card-id</tt> contains a very short
                identifier for the card. Official cards have no more
                than 2 numeric digits and on cards with
                the <tt>dd-official</tt> CSS class this element has a
                fixed size. On non-official cards it will expand to
                the left to fit the text, but should only contain a
                few characters, e.g. <tt>ex-01</tt>. The text will be
                automatically uppercased by CSS.
              </li>
              <li><tt>SECTION.card-body</tt> contains one sub-element...
                <ul><li><tt>DIV</tt> contains the full text of the







|







155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
                characters (e.g. 1-3).
              </li>
              <li><tt>SECTION.card-name</tt> contains the name of the card.
              </li>
              <li><tt>SECTION.card-id</tt> contains a very short
                identifier for the card. Official cards have no more
                than 2 numeric digits and on cards with
                the <tt>dv-official</tt> CSS class this element has a
                fixed size. On non-official cards it will expand to
                the left to fit the text, but should only contain a
                few characters, e.g. <tt>ex-01</tt>. The text will be
                automatically uppercased by CSS.
              </li>
              <li><tt>SECTION.card-body</tt> contains one sub-element...
                <ul><li><tt>DIV</tt> contains the full text of the