Divent/divent/static/css/global.css
Michel Roux edb07a1b23
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
Optimize CSS
2022-09-07 17:39:57 +00:00

156 lines
2.4 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;
}
body {
background-color: #2f3136;
margin: 0;
font-family: Whitney, "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
color: #b9bbbe;
display: flex;
flex-direction: column;
justify-content: space-between;
}
#logo {
position: relative;
left: 24px;
top: 24px;
height: 36px;
width: 130px;
}
#avatars, footer, h1, h2 {
text-align: 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);
align-self: center;
}
#box {
padding: 32px 16px 24px;
}
#scopes {
list-style-type: none;
padding: 0;
}
#scopes li {
margin: 8px;
font-size: 14px;
}
footer ul {
font-size: 12px;
list-style-type: none;
padding: 0;
}
footer ul li {
display: inline-block;
}
footer ul li:last-child {
display: block;
}
footer ul li a {
color: #a3a6aa;
}
footer ul li i {
margin: 8px;
}
.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;
color: white;
}
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;
text-align: right;
border-radius: 0 0 5px 5px;
}
#buttons a {
background-color: #5865f2;
line-height: 38px;
font-size: 14px;
padding: 0 16px;
border-radius: 3px;
color: white;
display: inline-block;
}
@media only screen and (max-width : 320px) {
#logo {
text-align: center;
top: inherit;
left: inherit;
}
footer ul li {
display: block;
}
}