Update style

This commit is contained in:
infidel
2023-12-30 18:38:38 +07:00
parent 3278bd5c66
commit 3dcdccb162
6 changed files with 130 additions and 39 deletions

View File

@@ -46,10 +46,11 @@ p + p {
.priority {
margin-top: 0;
}
a {
text-decoration: none;
border-bottom: 1px solid;
}
abbr {
text-decoration: none;
cursor: help;
@@ -268,9 +269,19 @@ td {
line-height: 1.25;
margin: 0;
}
th {
font-weight: bold;
font-weight: 700;
background: rgba(0,0,0,.5);
padding: 0.5rem;
color: #dfdfdf;
}
tr:last-child{
border-bottom: 2px solid;
}
th:empty {
border: 0;
}
@@ -345,8 +356,6 @@ caption {
.logo img {
width: 100%;
max-width: 12rem;
-webkit-filter: white(100%); /* Safari 6.0 - 9.0 */
filter: white(100%);
}
@@ -394,30 +403,38 @@ caption {
.patterns ul ul {
margin-left: 0.75rem;
}
.pattern a {
border: 0;
.nav-pattern a {
text-decoration: none;
border: none;
display: flex;
flex-wrap: nowrap;
align-items: baseline;
font-weight: bold;
padding: 0 1rem;
padding-top: 0.5em;
padding-bottom: 0.5em;
padding: .5rem;
}
.pattern a:focus {
.nav-pattern a:focus {
outline: none;
}
.pattern span {
.nav-pattern a:hover {
border-radius: 4px;
border-right: 4px solid !important ;
}
.nav-pattern span {
margin-left: 0.125rem;
}
/* After */
.pattern [aria-current] {
.nav-pattern [aria-current] {
background-color: #efefef;
color: #39424E;
border-radius: 5px;
}
.nav-pattern td{
border-bottom: none;
}
/* Menu button */
#menu-button {
display: none;
@@ -493,6 +510,7 @@ caption {
}
.inf-patterns-list a {
border-bottom: none !important;
text-decoration: none;
}
.inf-patterns-list table,th,td {
@@ -506,18 +524,17 @@ caption {
}
.inf-patterns-list table,tr {
border-top: 2px solid !important;
.inf-patterns-list table tr {
border-bottom: 2px solid !important;
}
.inf-patterns-list th, td:first-child {
.inf-patterns-list tr td:first-child {
margin-top: 1rem;
padding-top: 1rem;
text-align: left;
}
.inf-patterns-list th, td {
.inf-patterns-list tr td {
margin-top: 1rem;
padding-top: 1rem;
text-align: right;
@@ -543,6 +560,7 @@ caption {
}
.patterns-list a {
border: 0;
text-decoration: none;
}
/* Tags */