Initial Commit
This commit is contained in:
96
statistics/foody.css
Normal file
96
statistics/foody.css
Normal file
@@ -0,0 +1,96 @@
|
||||
.main-nav {
|
||||
display: flex;
|
||||
background: #bee817;
|
||||
color: white;
|
||||
border-radius: 3px;
|
||||
padding: 1em;
|
||||
font-family: sans-serif;
|
||||
}
|
||||
.main-nav > ul {
|
||||
list-style-type: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
display: flex;
|
||||
flex: 3;
|
||||
}
|
||||
.main-nav li {
|
||||
margin-right: 1em;
|
||||
}
|
||||
.main-nav > form {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
flex: 1;
|
||||
}
|
||||
.main-nav input {
|
||||
flex: 1;
|
||||
}
|
||||
.main-nav button {
|
||||
background: white;
|
||||
border: 0;
|
||||
border-radius: 1em;
|
||||
color: orangered;
|
||||
padding: 0 1em;
|
||||
margin-left: 0.3em;
|
||||
}
|
||||
.button {
|
||||
background-color: #bee817;
|
||||
border: none;
|
||||
color: white;
|
||||
padding: 15px 32px;
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
display: inline-block;
|
||||
font-size: 15px;
|
||||
margin: 4px 2px;
|
||||
cursor: pointer;
|
||||
border-radius: 12px;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 575px) {
|
||||
.main-nav {
|
||||
flex-direction: column;
|
||||
}
|
||||
.main-nav ul {
|
||||
flex-direction: row; /* Change this to 'column' to stack the links */
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
}
|
||||
.item1 {
|
||||
grid-area: header;
|
||||
}
|
||||
.item2 {
|
||||
grid-area: main;
|
||||
}
|
||||
.item3 {
|
||||
grid-area: footer;
|
||||
}
|
||||
|
||||
.grid-container {
|
||||
display: grid;
|
||||
grid-template-areas:
|
||||
"header header header header header header"
|
||||
"main main main main main main"
|
||||
"footer footer footer footer footer footer";
|
||||
gap: 1px;
|
||||
background-color: #bee817;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.grid-container > div {
|
||||
background-color: rgba(255, 255, 255, 0.8);
|
||||
text-align: center;
|
||||
padding: 20px 0;
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
table {
|
||||
width: 100%;
|
||||
border: 1px solid black;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
th,
|
||||
td {
|
||||
border: 1px solid black;
|
||||
border-collapse: collapse;
|
||||
text-align: center;
|
||||
}
|
||||
Reference in New Issue
Block a user