diff --git a/static/css/style.css b/static/css/style.css index e002cfc..af86a6b 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -80,17 +80,17 @@ h1#title { } h2.subtitle, -h2.subtitle > a { +h2.subtitle a { color: rgb(28, 118, 236) !important; } h3.subsubtitle, -#content > h3.subsubtitle > a { +#content h3.subsubtitle a { text-align: left; color: rgb(149, 87, 201); } -#content > h3.subsubtitle > a:hover { +#content h3.subsubtitle a:hover { color: rgb(0, 181, 236); transition: color 0.1s; } @@ -114,34 +114,34 @@ div#content { } #content a, -#content > a:visited, +#content a:visited, #content ul { text-decoration: none; color: rgb(201, 201, 201); text-align: center; } -#content > p { +#content p { text-decoration: none; color: rgb(201, 201, 201); text-align: center; padding: 0.7em; } -#content > a:hover { +#content a:hover { color: rgb(0, 181, 236); transition: color 0.1s; } /* https://stackoverflow.com/a/40244401/15436737 */ -#content > a { +#content a { position: relative; text-decoration: none; display: inline-block; } -#content > a:after { +#content a:after { display: block; content: ""; border-bottom: solid 3px; @@ -150,7 +150,7 @@ div#content { transform-origin: 100% 50%; } -#content > a:hover:after { +#content a:hover:after { transform: scaleX(1); transform-origin: 0 50%; } @@ -168,7 +168,7 @@ div.subcontent { text-align: center; } -#listecontent > li { +#listecontent li { margin-bottom: 0.5em; } @@ -230,12 +230,12 @@ footer.backToIndexPage { text-align: center; } -footer.backToIndexPage > a { +footer.backToIndexPage a { color: rgb(114, 180, 76); text-decoration: none; } -footer.backToIndexPage > a:hover { +footer.backToIndexPage a:hover { color: rgb(152, 187, 132); }