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,11 +239,14 @@ hr:last-child {
font-size: 1.1rem;
}
#jumplinks {
text-align: start;
}
@media only screen and (max-width: 600px) {
/*body {
#jumplinks > a {
}*/
#jumplinks {
text-align: start;
}
#jumplinks>a {
border: black;
border-top-style: none;
border-top-width: medium;
@@ -247,18 +269,17 @@ hr:last-child {
padding-top: 1.5%;
padding-bottom: 1.5%;
padding-left: 1%;
}
#jumplinks > a:hover {
}
#jumplinks>a:hover {
text-decoration: none;
color: #da736b !important;
border: 1px solid #da736b !important;
box-shadow: inset 0 1px 1px 0 #eff;
}
#jumplinks > h4 {
}
#jumplinks>h4 {
text-align: left;
font-size: 1.1rem;
}
}
element {
@@ -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,11 +259,11 @@ h3 {
vertical-align: top;
}
#jumplinks {
@media only screen and (max-width: 600px) {
#jumplinks {
text-align: start;
}
#jumplinks > a {
}
#jumplinks>a {
border: black;
border-top-style: none;
border-top-width: medium;
@@ -258,9 +288,8 @@ h3 {
padding-left: 1%;
background: #ddd;
background: linear-gradient(to bottom, #eee, #fff);
}
#jumplinks > a:hover {
}
#jumplinks>a:hover {
text-decoration: none;
color: #19191f;
border: 1px solid #f60 !important;
@@ -269,12 +298,11 @@ h3 {
box-shadow: inset 0 0 0 1px #fff !important;
filter: drop-shadow(0 0 1px rgba(204, 204, 204, 0.8));
transition: ease border 0.7s;
}
#jumplinks > h4 {
}
#jumplinks>h4 {
text-align: left;
font-size: 1.1rem;
}
}
element {
@@ -302,4 +330,3 @@ td {
font-size: 10pt !important;
}
}