Turn jump button-links back into regular-looking hyperlinks when resolution indicates we are not on a mobile device

This commit is contained in:
idk
2022-01-10 14:28:40 -05:00
parent 662ea995c1
commit e15dae5c5f
2 changed files with 122 additions and 75 deletions

View File

@@ -1,4 +1,3 @@
body {
margin: 5px 0px 0px;
padding: 0px;
@@ -15,6 +14,26 @@ body {
background-repeat: initial initial;
}
#jumplinks h4 {
padding-bottom: 10px;
margin-bottom: 10px;
}
#jumplinks a {
display: inline-block;
padding: 2px 0;
line-height: 16px;
}
#jumplinks a::before {
content: "\279F\00A0";
font-size: 16pt;
display: inline-block;
padding: 3px 0;
vertical-align: sub;
line-height: 16px;
}
img {
border: none;
}
@@ -220,10 +239,13 @@ hr:last-child {
font-size: 1.1rem;
}
@media only screen and (max-width: 600px) {
/*body {
}*/
#jumplinks {
text-align: start;
}
#jumplinks>a {
border: black;
border-top-style: none;
@@ -248,18 +270,17 @@ hr:last-child {
padding-bottom: 1.5%;
padding-left: 1%;
}
#jumplinks>a:hover {
text-decoration: none;
color: #da736b !important;
border: 1px solid #da736b !important;
box-shadow: inset 0 1px 1px 0 #eff;
}
#jumplinks>h4 {
text-align: left;
font-size: 1.1rem;
}
}
element {
height: 6em;
@@ -283,4 +304,3 @@ td {
margin-left: 242px !important;
}
}

View File

@@ -1,5 +1,3 @@
html {
margin: 0px !important;
}
@@ -15,6 +13,38 @@ body {
background-repeat: initial initial;
}
#jumplinks h3 {
margin: 0 0 10px;
}
#jumplinks a {
display: block;
padding: 2px 0;
line-height: 16px;
}
#jumplinks a::before {
content: "\279F\00A0";
font-size: 16pt;
display: inline-block;
padding: 3px 0;
vertical-align: sub;
line-height: 16px;
}
@media screen and (min-width: 1400px) {
#jumplinks h4 {
font-size: 10.5pt;
}
}
#jumplinks h4 {
margin-bottom: 10px;
border-color: #7778bf !important;
color: #41465f;
padding-bottom: 10px;
}
b {
color: rgb(65, 70, 95);
}
@@ -229,10 +259,10 @@ h3 {
vertical-align: top;
}
@media only screen and (max-width: 600px) {
#jumplinks {
text-align: start;
}
#jumplinks>a {
border: black;
border-top-style: none;
@@ -259,7 +289,6 @@ h3 {
background: #ddd;
background: linear-gradient(to bottom, #eee, #fff);
}
#jumplinks>a:hover {
text-decoration: none;
color: #19191f;
@@ -270,12 +299,11 @@ h3 {
filter: drop-shadow(0 0 1px rgba(204, 204, 204, 0.8));
transition: ease border 0.7s;
}
#jumplinks>h4 {
text-align: left;
font-size: 1.1rem;
}
}
element {
height: 6em;
@@ -302,4 +330,3 @@ td {
font-size: 10pt !important;
}
}