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

View File

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