From ee36587003294095f723a95264fad98abb989f81 Mon Sep 17 00:00:00 2001 From: "Felix W. Dekker" Date: Mon, 10 Jun 2019 01:33:54 +0200 Subject: [PATCH] Add LICENSE, footer, and semantic HTML LICENSE is dated 2018 because that is when I originally wrote the code. --- LICENSE | 21 +++++++++++++ index.html | 92 +++++++++++++++++++++++++++++++++--------------------- 2 files changed, 78 insertions(+), 35 deletions(-) create mode 100644 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..f05b84f --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2018 Felix W. Dekker + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/index.html b/index.html index 011c05d..e2e5d8a 100644 --- a/index.html +++ b/index.html @@ -20,53 +20,75 @@ margin-top: 50px; margin-bottom: 50px; } + + .footer { + margin-top: 50px; + } -
-

Dice probabilities

-
-

Calculates the probability of throwing a value given a combination of dice.

-
+
+ +
+
+

Dice probabilities

+
+

Calculates the probability of throwing a value given a combination of dice.

+
+
+
-
-
-
-
- - - - - - - - - - - - - -
Sides per dieNumber of throws
- -
+
+
+
+ +
+ + + + + + + + + + + + + +
Sides per dieNumber of throws
+ +
- -
- + +
+ +
-
+ -

Probabilities

-
-
- +
+

Probabilities

+
+
+ +
-
-
+ + + + + +