change background colors of the table

This commit is contained in:
Markus Rosenstihl 2025-03-23 21:09:43 +01:00
parent f50f6fc7cd
commit 9ea24e3bb5
2 changed files with 2 additions and 5 deletions

View File

@ -4,9 +4,6 @@
integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
</head>
<style>
.table-striped>tbody>tr:nth-child(odd) {
background-color: LemonChiffon;
}
.center {
margin: auto;
width: 60%;
@ -14,7 +11,7 @@
padding: 10px;
}
</style>
<div class="container text-center">
<div class="container text-left">
<h1>NMR Frequency Calculator</h1>
<form action="result">

View File

@ -40,7 +40,6 @@
.center {
margin: auto;
width: 40%;
border: 0px solid #a5addb;
padding: 10px;
}
@ -52,5 +51,6 @@
text-align: left;
}
.table-striped {--bs-table-striped-bg: rgba(213, 217, 255, 0.7);}
</style>