2024-03-10 20:40:56 -04:00
|
|
|
/*
|
|
|
|
|
|
|
|
Daily Blackout Poetry Challenge
|
|
|
|
|
|
|
|
style.css
|
|
|
|
|
|
|
|
license GPLv3.0 https://www.gnu.org/licenses/gpl-3.0.en.html
|
|
|
|
Code repository:
|
|
|
|
Written by Jacob Haddon https://jacobhaddon.com
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: "lora";
|
|
|
|
src: local("Lora"),
|
2024-03-12 20:19:49 -04:00
|
|
|
url("fonts/Lora/webfonts/Lora-Regular.woff2") format('woff2'),
|
|
|
|
url("fonts/Lora/variable/Lora-VariableFont_wght.ttf") format('truetype');
|
2024-03-12 21:16:51 -04:00
|
|
|
font-style: normal;
|
|
|
|
font-weight: normal;
|
2024-03-10 20:40:56 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: "lora";
|
|
|
|
src: local("Lora"),
|
2024-03-12 20:19:49 -04:00
|
|
|
url("fonts/Lora/webfonts/Lora-Italic.woff2") format('woff2'),
|
2024-03-12 21:16:51 -04:00
|
|
|
url("fonts/Lora/variable/Lora-Italic-VariableFont_wght.ttf")format('truetype');
|
2024-03-10 20:40:56 -04:00
|
|
|
font-weight: normal;
|
2024-03-12 20:19:49 -04:00
|
|
|
font-style: italic;
|
2024-03-10 20:40:56 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
|
|
|
margin: 40px auto;
|
|
|
|
max-width: 750px;
|
|
|
|
font: 18px/1.6 lora, Baskerville, TimesNewRoman, Times New Roman, Times, Georgia, serif;
|
|
|
|
padding: 0 10px:
|
|
|
|
word-break: break-word;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
text-decoration: none;
|
|
|
|
color: RebeccaPurple;
|
|
|
|
}
|
|
|
|
|
|
|
|
a:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
|
2024-03-12 21:16:51 -04:00
|
|
|
.purple {
|
|
|
|
color: RebeccaPurple;
|
|
|
|
}
|
|
|
|
|
2024-03-10 20:40:56 -04:00
|
|
|
.help {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Styles for the help section of the site */
|
|
|
|
|
|
|
|
#help {
|
2024-03-12 21:16:51 -04:00
|
|
|
background-color: black;
|
2024-03-10 20:40:56 -04:00
|
|
|
color: white;
|
|
|
|
position: absolute;
|
|
|
|
top: 0%;
|
|
|
|
left: 0%;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
#help a {
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
|
|
|
|
.helpwords {
|
|
|
|
margin: 40px auto;
|
|
|
|
max-width: 650px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* styles for the 'page */
|
2024-03-12 21:16:51 -04:00
|
|
|
|
2024-03-10 20:40:56 -04:00
|
|
|
#spina {
|
|
|
|
max-width: 100%;
|
|
|
|
margin: 0;
|
|
|
|
padding: 10%;
|
2024-03-12 21:16:51 -04:00
|
|
|
border-style: solid;
|
2024-03-10 20:40:56 -04:00
|
|
|
border-width: 1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#byline {
|
|
|
|
font: italic 14px/1.1 lora, Baskerville, TimesNewRoman, Times New Roman, Times, Georgia, serif;
|
|
|
|
padding: 0 25px 25px 25px;
|
|
|
|
}
|
|
|
|
|
2024-03-11 20:52:06 -04:00
|
|
|
#poem_list {
|
|
|
|
min-height: 75px;
|
2024-03-12 21:16:51 -04:00
|
|
|
border: 2px solid RebeccaPurple;
|
2024-03-11 20:52:06 -04:00
|
|
|
padding: 50px 5% 5%;
|
|
|
|
}
|
2024-03-12 21:16:51 -04:00
|
|
|
|
2024-03-11 20:52:06 -04:00
|
|
|
#copy_buttons {
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
|
2024-03-10 20:40:56 -04:00
|
|
|
.click {
|
|
|
|
background-color: Plum;
|
|
|
|
}
|
|
|
|
|
2024-03-11 20:52:06 -04:00
|
|
|
/* Styles for the buttons */
|
|
|
|
|
|
|
|
/* all buttons have this */
|
|
|
|
.btn {
|
|
|
|
font: 18px lora, Baskerville, TimesNewRoman, Times New Roman, Times, Georgia, serif;
|
|
|
|
padding: 8px;
|
|
|
|
border-style: none;
|
|
|
|
-webkit-appearance: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn-mn {
|
|
|
|
background-color: RebeccaPurple;
|
|
|
|
color: #ffffff;
|
|
|
|
}
|
2024-03-12 21:16:51 -04:00
|
|
|
|
2024-03-11 20:52:06 -04:00
|
|
|
.btn-mn:hover {
|
2024-03-12 21:16:51 -04:00
|
|
|
background-color: black;
|
|
|
|
color: white;
|
2024-03-11 20:52:06 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.btn-hlp-bx {
|
|
|
|
position: fixed;
|
|
|
|
top: 40px;
|
|
|
|
right: 10%;
|
|
|
|
z-index: 10;
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn-hlp {
|
|
|
|
background-color: white;
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn-hlp:hover {
|
|
|
|
background-color: silver;
|
|
|
|
}
|
|
|
|
|
2024-03-10 20:40:56 -04:00
|
|
|
/* Styles for the blacked-out page */
|
|
|
|
|
|
|
|
.clickDone {
|
|
|
|
background-color: white;
|
|
|
|
padding: 2px;
|
2024-03-12 20:19:49 -04:00
|
|
|
color: black;
|
2024-03-10 20:40:56 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.done {
|
|
|
|
background-color: black;
|
|
|
|
/*border: 10px solid black;*/
|
|
|
|
}
|
|
|
|
|