.body {
margin: 0;
background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)),
url(/public/img/gg.png);
background-repeat: no-repeat;
background-position: center;
background-attachment: fixed;
background-size: cover;
font-family: Arial, sans-serif;
}
.content {
margin: 10px;
}
.nav {
margin: 0px;
padding: 0px;
}
.topnav {
background-color: #333;
overflow: hidden;
height: 50px;
position: fixed;
width: 100%;
top: 0;
z-index: 1000; /* Adjust the value based on your needs */
}
/* Style the links inside the navigation bar */
.topnav a {
float: left;
display: block;
color: #f2f2f2;
text-align: center;
padding: 15px 8px;
text-decoration: none;
font-size: 14px;
}
/* Change the color of links on hover */
.topnav a:hover {
background-color: #ddd;
color: black;
}
/* Add a color to the active/current link */
.topnav a.active {
float: left;
display: block;
background-color: #696969;
color: white;
text-align: center;
padding: 15px 8px; /* Adjust the padding as needed */
text-decoration: none;
font-size: 14px;
}
.topnav a.asset {
float: left;
display: block;
color: white;
text-align: center;
padding: 15px 8px; /* Adjust the padding as needed */
text-decoration: none;
font-size: 14px;
}
/* nav */
* {
box-sizing: border-box;
}
body {
margin: 0;
font-family: Arial, Helvetica, sans-serif;
}
.topnav a {
float: left;
display: block;
color: rgb(255, 255, 255);
text-align: center;
padding: 25px 16px;
text-decoration: none;
font-size: 17px;
}
.topnav a:hover {
background-color: gray;
color: white;
}
.topnav img.active {
margin-left: 10px;
margin-top: 5px;
margin-right: 10px;
float: left;
height: 35px;
/* background-color: #2196f3; */
}
.topnav img.user-img {
margin-left: 15px;
margin-top: 10px;
margin-right: 15px;
float: right;
border-radius: 50px;
color: white;
height: 50px;
}
.topnav [id="email"] {
margin-right: 8px;
margin-top: 15px;
float: right;
font-size: 14px;
color: white;
}
.topnav [id="logout"] {
float: right;
padding: 6px;
margin: 8px;
border-radius: 10px;
border: none;
font-size: 14px;
background-color: red;
color: white;
}
@media screen and (max-width: 600px) {
.topnav a,
.topnav img,
.topnav input[type="text"] {
float: none;
display: block;
text-align: left;
width: 100%;
margin: 0;
padding: 14px;
}
.topnav input[type="text"] {
border: 1px solid #ccc;
}
}
.topnav div.icons {
margin-left: 10px;
margin-top: 12px;
margin-right: 10px;
float: right;
border-radius: 50px;
color: white;
height: 30px;
}
.table {
background-color: white;
}
h1 {
color: white;
}
footer {
width: 100%;
background-color: #333; /* สีพื้นหลังของ footer */
color: #fff; /* สีข้อความของ footer */
padding: 10px; /* ขอบของ footer */
overflow: hidden; /* ป้องกันการแสดงผลเกินขอบของ footer */
height: 4%;
text-align: center;
bottom: 0;
position: fixed;
}