Frontend/24_12_16/projekt/src/App.css

98 lines
1.3 KiB
CSS
Raw Normal View History

2024-12-16 11:59:49 +00:00
.App {
text-align: center;
}
.App-logo {
height: 40vmin;
pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
.App-logo {
animation: App-logo-spin infinite 20s linear;
}
}
.App-header {
background-color: #282c34;
/*min-height: 20vh;*/
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
font-size: calc(10px + 2vmin);
color: white;
}
.App-link {
color: #61dafb;
}
@keyframes App-logo-spin {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
/*Hozzáadott css*/
body{
background-color: #282c34;
/*min-height: 20vh;*/
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
font-size: calc(10px + 2vmin);
color: white;
}
button{
display: flex;
align-self: center;
}
table {
width: 50%;
margin: 20px auto;
border-collapse: collapse;
text-align: center;
}
th, td {
padding: 10px;
border: 1px solid black;
max-height: 200px;
}
th {
background-color: #606570;
}
.image{
max-height: 100px;
}
.gomb{
background-color: #282c34;
color: aliceblue;
border: #61dafb 2px solid;
}
.container {
height: 200px;
position: relative;
}
.vertical-center {
margin: 0;
position: absolute;
top: 50%;
-ms-transform: translateY(-50%);
transform: translateY(-50%);
}