Loading style.css +25 −23 Changes for style.css: 25 added lines, 23 removed lines. Original line number Diff line number Diff line Loading @@ -19,7 +19,7 @@ Fachschaft Computerlinguistik is distributed under the terms of the GNU GPL padding: 0; } /* --- Structural elements --- */ /* ==== Structural elements ==== */ body { /* Variables */ --accent-color: #990000; Loading Loading @@ -132,7 +132,6 @@ body > footer a { } /* -- Navigation bar -- */ header .nav-toggle { display: none; } Loading Loading @@ -223,26 +222,6 @@ main:not(.list) { grid-template-rows: 1fr; } /* - easter egg: Pictures that change on hover - */ .wp-block-gallery.easteregg .blocks-gallery-item:nth-child(2) { display: none; } .wp-block-gallery.easteregg:hover .blocks-gallery-item:nth-child(1) { display: none; } .wp-block-gallery.easteregg:hover .blocks-gallery-item:nth-child(2) { display: flex; } /* - adjust width of gallery - */ .wp-block-gallery { width: 70%; margin-left: auto !important; margin-right: auto !important; } /* - general styles */ img.aligncenter { Loading Loading @@ -813,7 +792,7 @@ article > footer { /* ======================================================================= */ /* --- Text markup elements --- */ /* ==== Text markup elements ==== */ a { color: var(--accent-color); border-color: var(--accent-color); Loading Loading @@ -852,6 +831,7 @@ hr { ); } /* -- Tables -- */ table, th, tr, Loading Loading @@ -883,6 +863,7 @@ th { color: #fff; } /* -- Lists -- */ ul, ol { margin-left: 1.5em; Loading @@ -892,6 +873,7 @@ ul li { list-style: square; } /* -- Form elements -- */ select { -webkit-appearance: none; appearance: none; Loading Loading @@ -936,6 +918,26 @@ input[type="submit"]:hover { box-shadow: 0px 0px 5px var(--accent-color); } /* -- Galleries -- */ .wp-block-gallery { width: 70%; margin-left: auto !important; margin-right: auto !important; } /* Easter egg: Pictures that change on hover */ .wp-block-gallery.easteregg .blocks-gallery-item:nth-child(2) { display: none; } .wp-block-gallery.easteregg:hover .blocks-gallery-item:nth-child(1) { display: none; } .wp-block-gallery.easteregg:hover .blocks-gallery-item:nth-child(2) { display: flex; } /* -- Pills -- * Pills are a rounded group of multiple button-like entries, one of which can be active (red background), inactive * entries have a white background (therefore making the whole thing looking somewhat like a pill) Loading Loading
style.css +25 −23 Changes for style.css: 25 added lines, 23 removed lines. Original line number Diff line number Diff line Loading @@ -19,7 +19,7 @@ Fachschaft Computerlinguistik is distributed under the terms of the GNU GPL padding: 0; } /* --- Structural elements --- */ /* ==== Structural elements ==== */ body { /* Variables */ --accent-color: #990000; Loading Loading @@ -132,7 +132,6 @@ body > footer a { } /* -- Navigation bar -- */ header .nav-toggle { display: none; } Loading Loading @@ -223,26 +222,6 @@ main:not(.list) { grid-template-rows: 1fr; } /* - easter egg: Pictures that change on hover - */ .wp-block-gallery.easteregg .blocks-gallery-item:nth-child(2) { display: none; } .wp-block-gallery.easteregg:hover .blocks-gallery-item:nth-child(1) { display: none; } .wp-block-gallery.easteregg:hover .blocks-gallery-item:nth-child(2) { display: flex; } /* - adjust width of gallery - */ .wp-block-gallery { width: 70%; margin-left: auto !important; margin-right: auto !important; } /* - general styles */ img.aligncenter { Loading Loading @@ -813,7 +792,7 @@ article > footer { /* ======================================================================= */ /* --- Text markup elements --- */ /* ==== Text markup elements ==== */ a { color: var(--accent-color); border-color: var(--accent-color); Loading Loading @@ -852,6 +831,7 @@ hr { ); } /* -- Tables -- */ table, th, tr, Loading Loading @@ -883,6 +863,7 @@ th { color: #fff; } /* -- Lists -- */ ul, ol { margin-left: 1.5em; Loading @@ -892,6 +873,7 @@ ul li { list-style: square; } /* -- Form elements -- */ select { -webkit-appearance: none; appearance: none; Loading Loading @@ -936,6 +918,26 @@ input[type="submit"]:hover { box-shadow: 0px 0px 5px var(--accent-color); } /* -- Galleries -- */ .wp-block-gallery { width: 70%; margin-left: auto !important; margin-right: auto !important; } /* Easter egg: Pictures that change on hover */ .wp-block-gallery.easteregg .blocks-gallery-item:nth-child(2) { display: none; } .wp-block-gallery.easteregg:hover .blocks-gallery-item:nth-child(1) { display: none; } .wp-block-gallery.easteregg:hover .blocks-gallery-item:nth-child(2) { display: flex; } /* -- Pills -- * Pills are a rounded group of multiple button-like entries, one of which can be active (red background), inactive * entries have a white background (therefore making the whole thing looking somewhat like a pill) Loading