@font-face { font-family: "Roboto"; src: url("fonts/Roboto-Regular.ttf"); } @font-face { font-family: "Diogenes"; src: url("fonts/DIOGENES.ttf"); } @font-face { font-family: "Ariane"; src: url("fonts/ACRealAdult.ttf"); } tw-hook[name="titre"] { font-family: "Diogenes"; font-size: 2em; display: flex; justify-content: center; } tw-hook[name="ariane"] { font-family: "Ariane"; font-size: 3em; display: flex; justify-content: center; } tw-story { color: #f0f0f0; font-family: "Roboto"; font-size: 1.2em; text-align: justify; position: relative; height: 100vh; background-color: unset; } tw-story::before { content: ""; position: absolute; inset: 0; background-image: url("images/athenes.jpg"); background-size: cover; background-position: center; background-repeat: no-repeat; opacity: 0; transition: opacity 0.5s ease-in-out; z-index: -1; } tw-story.show::before { opacity: 1; } tw-link, .visited { color: #340000; display: inline-block; transition: all 0.2s ease-out; } tw-link:hover, .visited:hover { color: #5f1f1f; transform: scale(1.05); transition: all 0.2s ease-out; } tw-dialog tw-link:hover, tw-dialog .visited:hover { transform: scale(1); } enchantment-link { color: unset; } .dialogue { display: block; border-left: 1px solid #f0f0f0; padding: 0 15px; margin: 20px 0; } tw-dialog { background-color: #F7F7F7; color: #222222; font-family: "Roboto"; } tw-dialog input[type=text] { border: solid #CBCBCB 1px !important; border-radius: 13px; padding-left: 10px; padding-top: 5px; padding-bottom: 3px; } tw-dialog input:focus { outline: 1.5px solid #A1A1A1; } tw-dialog input { margin-top : 20px; } ::selection { background-color: #5f1f1f; color: #ffffff; } tw-dialog-links tw-link { border-radius: 20px; border-style: solid; border-width: 1px; text-align: center; padding: 1.5px 20px; font-weight: unset; background-color: #445b2f; color: #F7F7F7 !important; border-color: #445b2f; margin: 0 !important; } tw-dialog-links tw-link:hover { background-color: #F7F7F7; border-color: #445b2f; color: #445b2f !important; } tw-dialog-links { justify-content: space-between; } .img { width: 100%; max-width: 40vw; } tw-passage { background-color: rgba(0, 0, 0, 80%); padding: 8% 5% 5% 5%; border-radius: 25px; overflow: hidden; overflow-y: auto; max-height: 100%; position: relative; } tw-sidebar { position: absolute; top: 0; left: 50%; transform: translateX(-50%); z-index: 10; display: flex; flex-direction: row; justify-content: center; align-items: center; gap: 10px; } tw-icon { position: static; opacity: 0.5 !important; transition: all 0.2s ease-out; } tw-icon:hover { opacity: 0.8 !important; transition: all 0.2s ease-out; } /* scrollbar */ tw-passage::-webkit-scrollbar { width: 10px; } tw-passage::-webkit-scrollbar-track { background: rgba(255,255,255,0.1); border-radius: 10px; margin: 40px 0; } tw-passage::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.3); border-radius: 10px; } tw-passage::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.6); } /*Athènes*/ tw-story[tags~="athenes"] { background-image: url("images/athenes.png"); background-size: cover; background-position: center; background-repeat: no-repeat; } tw-story[tags~="athenes"] tw-link { color: #7e957a; } tw-story[tags~="athenes"] tw-link:hover, tw-story[tags~="athenes"] .visited:hover { color: #486344; } tw-story[tags~="athenes"] ::selection { background-color: #486344; color: #ffffff; } /*Temple*/ body:has(tw-story[tags~="temple"]) { background-image: url("images/temple.png"); background-size: cover; background-position: center; background-repeat: no-repeat; } tw-story[tags~="temple"] tw-link { color: #a58361; } tw-story[tags~="temple"] tw-link:hover, tw-story[tags~="temple"] .visited:hover { color: #7f5f40; } tw-story[tags~="temple"] ::selection { background-color: #7f5f40; color: #ffffff; } /*Montagne*/ tw-story[tags~="montagne"] { background-image: url("images/montagne.png"); background-size: cover; background-position: center; background-repeat: no-repeat; } tw-story[tags~="montagne"] tw-link { color: #667b50; } tw-story[tags~="montagne"] tw-link:hover, tw-story[tags~="montagne"] .visited:hover { color: #425b28; } tw-story[tags~="montagne"] ::selection { background-color: #425b28; color: #ffffff; } /*Volcan*/ tw-story[tags~="volcan"] { background-image: url("images/volcan.jpg"); background-size: cover; background-position: center; background-repeat: no-repeat; } tw-story[tags~="volcan"] tw-link { color: #b56b35; } tw-story[tags~="volcan"] tw-link:hover, tw-story[tags~="volcan"] .visited:hover { color: #c1621d; } tw-story[tags~="volcan"] ::selection { background-color: #c1621d; color: #ffffff; } /*Grotte*/ tw-story[tags~="grotte"] { background-image: url("images/grotte.png"); background-size: cover; background-position: center; background-repeat: no-repeat; } tw-story[tags~="grotte"] tw-link { color: #8f7a63; } tw-story[tags~="grotte"] tw-link:hover, tw-story[tags~="grotte"] .visited:hover { color: #6d5740; } tw-story[tags~="grotte"] ::selection { background-color: #6d5740; color: #ffffff; } /*Escalier*/ tw-story[tags~="escalier"] { background-image: url("images/escalier.png"); background-size: cover; background-position: center; background-repeat: no-repeat; } tw-story[tags~="escalier"] tw-link { color: #9b8c7b; } tw-story[tags~="escalier"] tw-link:hover, tw-story[tags~="escalier"] .visited:hover { color: #897258; } tw-story[tags~="escalier"] ::selection { background-color: #897258; color: #ffffff; } /*Salle*/ tw-story[tags~="salle"] { background-image: url("images/salle.png"); background-size: cover; background-position: center; background-repeat: no-repeat; } tw-story[tags~="salle"] tw-link { color: #a7a498; } tw-story[tags~="salle"] tw-link:hover, tw-story[tags~="salle"] .visited:hover { color: #757266; } tw-story[tags~="salle"] ::selection { background-color: #757266; color: #ffffff; } /*Prairie*/ tw-story[tags~="prairie"] { background-image: url("images/prairie.png"); background-size: cover; background-position: center; background-repeat: no-repeat; } tw-story[tags~="prairie"] tw-link { color: #9fbb8d; } tw-story[tags~="prairie"] tw-link:hover, tw-story[tags~="prairie"] .visited:hover { color: #7ba361; } tw-story[tags~="prairie"] ::selection { background-color: #7ba361; color: #ffffff; } /*Sphinx*/ tw-story[tags~="sphinx"] { background-image: url("images/sphinx.png"); background-size: cover; background-position: center; background-repeat: no-repeat; } tw-story[tags~="sphinx"] tw-link { color: #c1ae91; } tw-story[tags~="sphinx"] tw-link:hover, tw-story[tags~="sphinx"] .visited:hover { color: #a38b65; } tw-story[tags~="sphinx"] ::selection { background-color: #a38b65; color: #ffffff; }