diff --git a/2024/winter/entry/assets/css/style.css b/2024/winter/entry/assets/css/style.css index 0ee5f6c..e51d96d 100644 --- a/2024/winter/entry/assets/css/style.css +++ b/2024/winter/entry/assets/css/style.css @@ -959,4 +959,96 @@ footer { .oubo .description { margin-top: 2rem; } -} \ No newline at end of file +} + +.news { + background: url(../img/news_header.png) top center no-repeat; + background-size: cover; + background-color: #fccfff; +} + +.news > div { + margin: 3rem 0; +} + +.news ul { + display: block; + font-family: "M PLUS Rounded 1c", sans-serif; + width: 90%; + margin: 0 auto; + background-color: white; + border: 3px #d58fdd solid; + border-radius: 10px; + margin-bottom: 3rem; + padding: 0.5rem 1rem; +} + +.news ul li { + list-style: none; + font-size: 1.2rem; + border-bottom: 2px #e7b4ed dashed; + padding: 0.5rem; +} + +.news ul li:last-child { + border-bottom: 0; +} + +.news article { + width: 90%; + margin: 0 auto; + text-align: center; + background-color: #FFFFFFCC; + padding: 2rem; + + font-family: "M PLUS Rounded 1c", sans-serif; +} + +.news h2 { + font-family: "M PLUS Rounded 1c", sans-serif; + color: rgb(255 255 255); + font-weight: 400; + font-size: 3vw; + text-shadow: 2px 2px rgb(181 181 181); + background: #a944b4ee; + display: inline; + padding: 10px 50px; + border-radius: 10px; +} + +.news article h1 { + font-size: 2rem; + padding-bottom: 1rem; +} + +.news p { + text-align: left; +} + +.news p.date { + text-align: right; +} + +.news p strong { + font-weight: bold; +} + +.news p img { + max-width: 90%; + margin-left: 5%; +} + +.news article .btn { + background-color: #9a2fa6ee; + color: #FFF; +} + +@media (max-width: 768px) { + .news h2 { + font-size: 6vw; + text-shadow: 1px 1px rgb(181 181 181); + } + .news article h1{ + font-size: 1.2rem; + } +} diff --git a/2024/winter/entry/assets/img/news_header.png b/2024/winter/entry/assets/img/news_header.png new file mode 100644 index 0000000..a06efb3 Binary files /dev/null and b/2024/winter/entry/assets/img/news_header.png differ diff --git a/2024/winter/entry/index.html b/2024/winter/entry/index.html index 6f09a41..6ecaa5c 100644 --- a/2024/winter/entry/index.html +++ b/2024/winter/entry/index.html @@ -43,16 +43,16 @@