Skip to content

Commit

Permalink
style stuff
Browse files Browse the repository at this point in the history
aligned code (removed padding)
aligned underline/wavy (it's not border-bottom anymore)
added padding to non-aligned .description
  • Loading branch information
timotheyca authored and mustafaquraish committed Dec 2, 2023
1 parent ae92bfa commit 9729b45
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions CSS/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -102,15 +102,15 @@ 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 {
opacity: 1;
color: #78d3fc !important;
text-decoration: #78d3fc wavy underline 2px;
text-underline-offset: 5px;
border-bottom: 1px solid transparent;
}

main {
Expand Down Expand Up @@ -167,9 +167,10 @@ main section {
color: #f9f9f9;
}

.description{
.description {
color: #868686;
font-style: italic;
padding-left: 2em;
}

.punctuation {
Expand All @@ -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 {
Expand All @@ -220,7 +219,6 @@ a.namespace:hover {

.section h3 .description {
display: table-cell;
padding-left: 2em;
width: 100%;
}

Expand Down Expand Up @@ -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 {
Expand All @@ -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 {
Expand Down

0 comments on commit 9729b45

Please sign in to comment.