diff --git a/CSS/styles.css b/CSS/styles.css index b856fa4..e88ba52 100644 --- a/CSS/styles.css +++ b/CSS/styles.css @@ -53,7 +53,7 @@ nav::-webkit-scrollbar-thumb, main::-webkit-scrollbar-thumb { outline: none; font-weight: 100; color: #fff; - border-bottom:1px solid rgba(255,255,255,.5); + border-bottom: 1px solid rgba(255,255,255,.5); margin: 15px 0; position: sticky; top: 0; @@ -102,7 +102,8 @@ a { color: #78d3fc !important; font-weight: 400; cursor: pointer; - border-bottom: 1px solid rgba(116, 218, 231, 0.36); + text-decoration: rgba(116, 218, 231, 0.36) underline 1px; + text-underline-offset: 6.75px; } a:hover { @@ -110,7 +111,6 @@ a:hover { color: #78d3fc !important; text-decoration: #78d3fc wavy underline 2px; text-underline-offset: 5px; - border-bottom: 1px solid transparent; } main { @@ -167,9 +167,10 @@ main section { color: #f9f9f9; } -.description{ +.description { color: #868686; font-style: italic; + padding-left: 2em; } .punctuation { @@ -186,24 +187,22 @@ main section { } a.callable { - border-bottom: 1px solid rgba(168, 218, 118, 0.46) !important; + text-decoration: rgba(168, 218, 118, 0.46) underline 1px !important; } a.callable:hover { color: #a8da76 !important; text-decoration: #a8da76 wavy underline 2px !important; - border-bottom: 1px solid transparent !important; } a.namespace { color: #aa9cf1 !important; - border-bottom: 1px solid rgba(170, 156, 241, 0.46) !important; + text-decoration: rgba(170, 156, 241, 0.46) underline 1px !important; } a.namespace:hover { color: #aa9cf1 !important; text-decoration: #aa9cf1 wavy underline 2px !important; - border-bottom: 1px solid transparent !important; } .section { @@ -220,7 +219,6 @@ a.namespace:hover { .section h3 .description { display: table-cell; - padding-left: 2em; width: 100%; } @@ -265,8 +263,12 @@ code { line-height: 1.75; color: #ddd; background-color: #222; - padding: 2px 8px; border-radius: 5px; + padding: 2px 8px; +} + +pre code { + padding: 0; } pre { @@ -287,13 +289,12 @@ pre { #sourceLink { color: #a2a2a2 !important; font-size: 15px; - border-bottom: 1px solid #a2a2a2 !important; + text-decoration: #a2a2a2 underline 1px; } #sourceLink:hover { color: #a2a2a2 !important; text-decoration: #a2a2a2 wavy underline 2px; - border-bottom: 1px solid transparent !important; } #breadcrumbDiv {