Divent/divent/static/css/global.css

210 lines
3.1 KiB
CSS
Raw Normal View History

2022-05-08 14:02:19 +00:00
/* 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;
}
footer,
h1,
h2 {
text-align: center;
}
#avatars {
display: flex;
justify-content: 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;
}
#dots {
font-size: xx-large;
opacity: 0.2;
align-self: center;
margin: 0 24px;
}
.hr-sect {
display: flex;
align-items: center;
color: rgba(79, 84, 92);
margin: 8px 0;
}
.hr-sect:before,
.hr-sect:after {
content: "";
flex-grow: 1;
background: rgba(79, 84, 92);
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: 15px;
padding: 10px;
box-sizing: border-box;
}
#permissions {
font-size: 12px;
margin-top: 8px;
}
#providers li {
margin: 12px;
}
ul {
list-style-type: none;
padding: 0;
}
ul li a {
color: #a3a6aa;
}
footer ul {
font-size: 12px;
}
footer ul li {
display: inline-block;
}
footer ul li:last-child {
display: block;
}
footer ul li i,
#providers li a i {
margin: 4px;
}
.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;
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 : 320px) {
#logo {
align-self: center;
top: inherit;
left: inherit;
}
footer ul li {
display: block;
}
}