Skip to content

Commit

Permalink
fix: ul li styles (#380)
Browse files Browse the repository at this point in the history
  • Loading branch information
fraxken authored Jul 9, 2024
1 parent 3253517 commit fa0f09a
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 26 deletions.
41 changes: 16 additions & 25 deletions public/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ div.page>section h2 {
}

.box-stats-container+.box-stats-container {
border-top: 3px dashed var(--faded-border-color);
border-top: 2px solid var(--faded-border-color);
margin-top: var(--default-margin);
}

Expand Down Expand Up @@ -258,33 +258,40 @@ div.page>section h2 {
ul {
margin-top: var(--default-margin);
}
ul + ul {
margin-right: 20px;
}

ul>li {
width: 100%;
height: 25px;
padding: 0 20px;
display: flex;
align-items: center;
border-bottom: 1px solid var(--primary-border-color);
}

ul>li:not(:first-child) {
margin-top: 3px;
}

ul>li>a {
height: 25px;
padding: 0 20px;
display: flex;
align-items: center;
flex-grow: 1;
text-decoration: none;
letter-spacing: 0.7px;
letter-spacing: 0.5px;
font-family: "mononoki";
color: var(--secondary-text-color);
border-bottom: 1px solid var(--primary-border-color);
}

ul>li>p {
font-size: 20px;
ul>li>p,ul>li>span {
font-size: 18px;
}

ul>li>p>.emoji {
cursor: default;
font-size: 17px;
flex-shrink: 0;
margin-left: 10px;
}

ul>li:hover>a {
Expand Down Expand Up @@ -340,19 +347,3 @@ li[role=link]:focus {
display: 100%;
}
}

.npm-packages-item a {
border-bottom: none;
display: inline;
letter-spacing: normal;
padding: 0;
color: var(--primary-text-color);
}

.node-item a {
border-bottom: none;
display: inline;
letter-spacing: normal;
padding: 0;
color: var(--primary-text-color);
}
2 changes: 1 addition & 1 deletion public/css/themes/dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
--main-color: #FFEA00;
--default-margin: 15px;
--avatar-border-color: #FFF;
--li-hover-color: #00B0FF;
--li-hover-color: #db9d02;
--h2-h3-text-color: #FFFDE7;
--h2-shadow: rgba(49, 46, 38, 0.609);
--h3-shadow: rgba(173, 131, 16, 0.609);
Expand Down

0 comments on commit fa0f09a

Please sign in to comment.