Divent/divent/static/css/global.css
Michel Roux f5a7a44c1f
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
Fix css on mobile (right this time)
2022-09-09 10:50:43 +00:00

192 lines
2.8 KiB
CSS

/* https://google-webfonts-helper.herokuapp.com/fonts/open-sans?subsets=latin */
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 400;
src: local(''),
url('../fonts/open-sans-v29-latin-regular.woff2') format('woff2'),
url('../fonts/open-sans-v29-latin-regular.woff') format('woff');
}
html,
body {
height: 100%;
}
a {
text-decoration: none;
color: white;
}
body {
background-color: #202225;
margin: 0;
font-family: Whitney, "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
color: #b9bbbe;
display: flex;
flex-direction: column;
justify-content: space-around;
align-items: center;
}
footer,
h1,
h2 {
text-align: center;
}
#avatars {
display: flex;
justify-content: center;
align-items: center;
}
#avatars img {
border-radius: 50%;
}
#content {
min-width: 280px;
max-width: 400px;
background-color: #18191c;
border-radius: 5px;
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.24);
}
#box {
padding: 32px 16px 24px;
}
#dots {
font-size: xx-large;
opacity: 0.2;
margin: 0 24px;
}
.hr-sect {
display: flex;
align-items: center;
color: #4f545c;
margin: 8px 0;
}
.hr-sect:before,
.hr-sect:after {
content: "";
flex-grow: 1;
background-color: #4f545c;
height: 1px;
margin: 0 8px;
}
#scopes li {
margin: 8px;
font-size: 14px;
}
.black_input {
width: 100%;
background-color: #202225;
border: 0;
border-radius: 3px;
color: white;
font-size: 16px;
padding: 10px;
box-sizing: border-box;
}
#providers li {
margin: 12px;
}
ul {
list-style-type: none;
padding: 0;
font-size: 12px;
margin-top: 8px;
}
ul li a {
color: #a3a6aa;
}
ul li i {
margin: 4px;
}
footer ul li {
display: inline-block;
}
footer ul li:last-child {
display: block;
}
.fa-custom-circle {
border-radius: 20px;
width: 24px;
height: 24px;
text-align: center;
line-height: 22px;
font-size: 20px;
float: left;
margin-right: 12px;
margin-top: 6px;
}
.fa-check {
background-color: green;
}
.fa-times {
background-color: grey;
}
h1 {
font-size: 20px;
}
h2 {
font-size: 16px;
}
h3 {
text-transform: uppercase;
font-size: 12px;
}
hr {
color: rgba(79, 84, 92, 0.48);
margin: 24px 0;
}
#buttons {
background-color: #2f3136;
padding: 16px;
border-radius: 0 0 5px 5px;
display: flex;
justify-content: flex-end;
}
.button {
background-color: #5865f2;
line-height: 38px;
font-size: 14px;
padding: 0 16px;
border-radius: 3px;
color: white;
border: 0;
display: block;
text-align: center;
}
@media only screen and (max-width: 400px) {
body {
justify-content: flex-start;
}
footer ul li {
display: block;
}
}