diff --git a/main.css b/main.css new file mode 100644 index 0000000..0319807 --- /dev/null +++ b/main.css @@ -0,0 +1,135 @@ +body{ + font-family: serif; + padding-right: 10%; + padding-left: 10%; + padding-top: 5%; + background: url("kabegami.png") no-repeat center fixed; + background-size:cover; +} +h1{ + background:rgba(0,0,0,0.2); + width:fit-content; + padding: 2%; + border-radius: 30px; + text-align: center; + margin-top: 10%; +} +nav { + position: fixed; + top: 0; + left: 0; + padding-top: 5px; + box-sizing: border-box; + width: 100%; + height: 70px; + background-color: dimgray; +} +li { + list-style: none; +} +a { + display: block; + text-decoration: none; + color: white; + margin-right: 35px; +} +ul { + display: flex; +} +.fl::first-letter { + font-size: 4em; + float: left; +} +p{ + font-size: 20px; + padding-top: 5%; + padding-bottom: 5%; + line-height: 2.0; +} +.toc-005 { + margin-bottom: 30px; + border-radius: 3px; + background-color: #f5f5f5; +} + +.toc-005 div { + display: flex; + justify-content: center; + align-items: center; + margin: 0; + padding: 10px 0; + background-color: #a3a3a3; + color: #fff; + font-weight: 600; + font-size: 1.1em; +} + +.toc-005 label::after { + margin-left: 7px; + font-weight: 500; + font-size: .7em; + color: #fff; + content: "[開く]"; + cursor: pointer; +} + +.toc-005:has(:checked) label::after { + content: "[閉じる]"; +} + +.toc-005 input { + display: none; +} + +.toc-005 ol { + list-style-type: decimal; + margin: 0; + overflow: hidden; +} + +.toc-005 > ol { + height: 0; +} + +.toc-005:has(:checked) > ol { + height: auto; + padding: 1em 1em 1em 3em; +} + +.toc-005 ol ol { + margin-top: 5px; + padding-left: 1.1em; +} + +.toc-005 li { + padding: 5px 0; + font-weight: 600; +} + +.toc-005 ol ol li { + font-weight: 500; + font-size: .9em; +} + +.toc-005 a { + color: #333; + text-decoration: none; +} +h2{ + font-size: 25px; + font-weight: bold; +} +.mailadress{ + background:rgba(0,0,0,0.2); + text-align: center; + border-radius: 30px; + font-size: 30px; +} +footer { + position: fixed; + bottom: 0.1; +} +.quote{ + text-align: center; + font-size: 4em; +}