simple-sso/doc/samples/portal/portal.css

51 lines
877 B
CSS

body {
max-width: 100ex;
margin: 0 auto;
background-color: white;
color: black;
text-align: center;
}
#sites ul {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
row-gap: 1ex;
column-gap: 1ex;
margin: 0;
}
#sites li {
display: flex;
flex-grow: 1;
margin: 0;
padding: 0;
}
#sites ul::after {
content: "";
flex-grow: 10;
}
#sites a {
display: block;
position: relative;
flex-grow: 1;
min-height: 3em;
min-width: 5em;
max-width: 10em;
color: rgb(255, 255, 127);
background-color: rgb(70, 130, 180);
border: 0.3ex outset rgb(70, 130, 180);
border-radius: 1ex;
padding: 1ex;
}
#sites a span {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
text-align: center;
}
#sites a:hover {
border-style: inset;
color: rgb(245, 245, 117);
background-color: rgb(65, 125, 175);
}