140 lines
No EOL
2.5 KiB
HTML
140 lines
No EOL
2.5 KiB
HTML
<!-- css.html -->
|
|
<style>
|
|
body {
|
|
font-family: Arial, sans-serif;
|
|
background-color: #f4f4f4;
|
|
margin: 0;
|
|
padding: 0;
|
|
color: #06041f;
|
|
}
|
|
|
|
/* Header settings */
|
|
|
|
header {
|
|
background-color: #06041f;
|
|
color: #fff;
|
|
padding: 20px;
|
|
text-align: center;
|
|
}
|
|
|
|
.header-content {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.logo {
|
|
width: 50px;
|
|
height: auto;
|
|
}
|
|
|
|
header h1 {
|
|
flex-grow: 1;
|
|
margin: 0;
|
|
font-size: 2em;
|
|
color: #47d7ac;
|
|
}
|
|
|
|
.nav-buttons a {
|
|
text-decoration: none;
|
|
margin: 0 10px;
|
|
padding: 10px 20px;
|
|
background-color: #47d7ac;
|
|
color: #fff;
|
|
border-radius: 5px;
|
|
font-weight: bold;
|
|
transition: background-color 0.3s ease;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.nav-buttons a:hover {
|
|
background-color: #35a895;
|
|
}
|
|
|
|
.nav-buttons i {
|
|
margin-right: 8px;
|
|
}
|
|
|
|
/* home */
|
|
.tiles ul {
|
|
list-style-type: none;
|
|
padding: 0;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: space-around;
|
|
margin: 20px 0;
|
|
}
|
|
|
|
.tiles li {
|
|
background-color: #ffffff;
|
|
border: 2px solid #47d7ac;
|
|
border-radius: 10px;
|
|
padding: 15px;
|
|
width: 180px;
|
|
text-align: center;
|
|
margin: 10px;
|
|
transition: transform 0.3s;
|
|
}
|
|
|
|
.tiles li:hover {
|
|
transform: scale(1.1);
|
|
}
|
|
|
|
.tiles a {
|
|
text-decoration: none;
|
|
color: #06041f;
|
|
font-size: 16px;
|
|
display: block;
|
|
}
|
|
|
|
.tiles .tile-icon {
|
|
font-size: 40px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
}
|
|
|
|
th,
|
|
td {
|
|
border: 1px solid #ddd;
|
|
padding: 8px;
|
|
text-align: center;
|
|
}
|
|
|
|
th {
|
|
background-color: #47d7ac;
|
|
}
|
|
|
|
td {
|
|
background-color: #fff;
|
|
}
|
|
|
|
h1 {
|
|
color: #06041f;
|
|
}
|
|
|
|
button {
|
|
background-color: #47d7ac;
|
|
color: #06041f;
|
|
padding: 8px 16px;
|
|
border: none;
|
|
cursor: pointer;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
button:hover {
|
|
background-color: #35a895;
|
|
}
|
|
|
|
.main {
|
|
margin-left: 20px;
|
|
margin-right: 20px;
|
|
}
|
|
</style> |