Removed highlighting of nav tabs, edited lists

This commit is contained in:
Jim Shepich III 2022-02-06 03:19:48 -05:00
parent e28fa0d9d1
commit 621992dc22
5 changed files with 29 additions and 23 deletions

View File

@ -167,6 +167,21 @@
"quote":"You don't tug on superman's cape, you don't spit into the wind, you don't pull the mask off that old lone ranger, and you don't mess around with Jim.", "quote":"You don't tug on superman's cape, you don't spit into the wind, you don't pull the mask off that old lone ranger, and you don't mess around with Jim.",
"quotee":"Jim Croce", "quotee":"Jim Croce",
"source":"You Don't Mess Around with Jim" "source":"You Don't Mess Around with Jim"
},
{
"quote":"Inspiration is reciprocal: we all have a responsibility to each other to create.",
"card":"Oviya Pashiri, Sage Lifecrafter",
"multiverseid":"417738"
},
{
"quote":"You're the only one who can get up when you're down. No one else.",
"quotee":"Daniel LaRusso",
"source":"Cobra Kai"
},
{
"quote":"A true champion never stops training. You gotta keep moving forward, or else you could get stuck exactly where you are.",
"quotee":"Johnny Lawrence",
"source":"Cobra Kai"
} }

View File

@ -16,10 +16,10 @@
?></title> ?></title>
</head> </head>
<body> <body>
<header id="main-header"> <header id="main-header" class="no-highlight">
<span class="silver-text">Jim Shepich III</span> <span class="silver-text">Jim Shepich III</span>
</header> </header>
<nav id="main-navbar"> <nav id="main-navbar" class="no-highlight">
<?php include 'scripts/nav.php';?> <?php include 'scripts/nav.php';?>
</nav> </nav>
<main> <main>

View File

@ -35,6 +35,7 @@ function gen_list_html(list){
break; break;
case "quotes": case "quotes":
html += "<hr />";
for(quote of list.list){ for(quote of list.list){
html += gen_item_html(quote,type="quote"); html += gen_item_html(quote,type="quote");
} }

View File

@ -28,31 +28,17 @@ footer {
header{ header{
/*min-height:10%;*/
/*height: 15vh;*/
text-align:center; text-align:center;
padding: 1.5rem/*var(--hf-padding)*/; padding: 1.5rem;
margin-bottom:/*1%*/0; margin-bottom:/*1%*/0;
} }
nav{ nav{
/*min-width:10%;
max-width:10%;*/
/*width:100px;
min-height:var(--main-height);
max-width:10%;
padding:5px;
padding-top:0%;
display:inline-block;
vertical-align:top;*/
text-align:center; text-align:center;
padding:0.2rem; padding:0.2rem;
} }
.nav-tab{ .nav-tab{
/*width:100%;*/
margin:0.1rem; margin:0.1rem;
padding-top: 0.4rem; padding-top: 0.4rem;
padding-bottom: 0.4rem; padding-bottom: 0.4rem;
@ -114,4 +100,7 @@ details details{
details.heading{ details.heading{
display:block; display:block;
margin-bottom:0.1rem; margin-bottom:0.1rem;
user-select:none;
-webkit-tap-highlight-color: rgba(0,0,0,0);
-webkit-tap-highlight-color: transparent;
} }

View File

@ -12,8 +12,6 @@ header{
color: #D8D8D8; color: #D8D8D8;
font-size: 2.5rem; font-size: 2.5rem;
font-family: Beleren; font-family: Beleren;
/*text-shadow: 1px 0 2px black, -1px 0 2px black, 0 1px 2px black, 0 -1px 2px black;*/
} }
.silver-text, .nav-text{ .silver-text, .nav-text{
@ -35,7 +33,7 @@ main{
background-color: white; background-color: white;
color: black; color: black;
font-size: 1.25rem; font-size: 1.25rem;
line-height: 1.3rem; line-height:normal;
font-family: Fira; font-family: Fira;
text-align: justify; text-align: justify;
} }
@ -103,9 +101,6 @@ hr{
border-top: 0.15rem solid black; border-top: 0.15rem solid black;
} }
article{
}
ul{ ul{
list-style-type: disc; list-style-type: disc;
} }
@ -139,3 +134,9 @@ summary{
background: var(--silver-right); background: var(--silver-right);
} }
.no-highlight{
user-select:none;
-webkit-tap-highlight-color: rgba(0,0,0,0);
-webkit-tap-highlight-color: transparent;
}