Divent/divent/static/css/global.css

201 lines
3.0 KiB
CSS
Raw Normal View History

2022-06-23 13:27:13 +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');
}
2022-09-07 17:36:18 +00:00
html, body {
height: 100%;
}
2022-09-07 17:39:57 +00:00
a {
text-decoration: none;
}
2022-06-17 15:02:11 +00:00
body {
2022-07-04 22:05:12 +00:00
background-color: #2f3136;
2022-06-17 15:02:11 +00:00
margin: 0;
2022-06-23 13:27:13 +00:00
font-family: Whitney, "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
color: #b9bbbe;
2022-09-07 17:36:18 +00:00
display: flex;
flex-direction: column;
justify-content: space-between;
2022-06-17 15:02:11 +00:00
}
2022-09-07 17:36:18 +00:00
#logo {
position: relative;
left: 24px;
top: 24px;
height: 36px;
width: 130px;
2022-09-04 21:19:05 +00:00
}
2022-09-07 21:11:11 +00:00
footer, h1, h2 {
2022-09-07 17:36:18 +00:00
text-align: center;
}
2022-09-07 21:11:11 +00:00
#avatars {
display: flex;
justify-content: center;
}
2022-09-07 17:36:18 +00:00
#avatars img {
border-radius: 50%;
2022-06-23 13:27:13 +00:00
}
2022-06-17 15:02:11 +00:00
#content {
min-width: 280px;
max-width: 400px;
background-color: #18191c;
border-radius: 5px;
2022-06-23 13:27:13 +00:00
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.24);
2022-09-07 17:39:57 +00:00
align-self: center;
2022-06-23 13:57:41 +00:00
}
#box {
2022-06-23 13:27:13 +00:00
padding: 32px 16px 24px;
}
2022-09-07 21:11:11 +00:00
#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;
2022-06-23 13:27:13 +00:00
}
#scopes li {
margin: 8px;
font-size: 14px;
}
2022-09-07 21:11:11 +00:00
#select_guid {
width: 100%;
background-color: #202225;
border: 0;
border-radius: 3px;
color: white;
font-size: 15px;
padding: 10px;
}
#permissions {
2022-07-04 22:05:12 +00:00
font-size: 12px;
2022-09-07 21:11:11 +00:00
margin-top: 8px;
}
ul {
2022-07-04 22:05:12 +00:00
list-style-type: none;
padding: 0;
}
2022-09-07 21:11:11 +00:00
ul li a {
color: #a3a6aa;
}
footer ul {
font-size: 12px;
}
2022-09-07 17:36:18 +00:00
footer ul li {
display: inline-block;
}
footer ul li:last-child {
display: block;
}
footer ul li i {
2022-07-04 22:05:12 +00:00
margin: 8px;
}
2022-06-23 13:27:13 +00:00
.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;
2022-06-23 13:57:41 +00:00
font-size: 12px;
2022-06-23 13:27:13 +00:00
}
hr {
2022-06-23 13:57:41 +00:00
color: rgba(79, 84, 92, 0.48);
2022-06-23 13:27:13 +00:00
margin: 24px 0;
2022-06-17 15:02:11 +00:00
}
2022-06-23 13:57:41 +00:00
#buttons {
background-color: #2f3136;
padding: 16px;
text-align: right;
border-radius: 0 0 5px 5px;
2022-09-07 21:11:11 +00:00
display: flex;
justify-content: flex-end;
2022-06-23 13:57:41 +00:00
}
2022-09-07 21:11:11 +00:00
.button {
2022-06-23 13:57:41 +00:00
background-color: #5865f2;
line-height: 38px;
font-size: 14px;
padding: 0 16px;
border-radius: 3px;
color: white;
2022-09-07 21:11:11 +00:00
border: 0;
display: block;
text-align: center;
2022-06-23 13:57:41 +00:00
}
2022-07-04 22:05:12 +00:00
2022-09-07 17:36:18 +00:00
@media only screen and (max-width : 320px) {
#logo {
2022-09-07 21:11:11 +00:00
align-self: center;
2022-09-07 17:36:18 +00:00
top: inherit;
left: inherit;
2022-07-04 22:05:12 +00:00
}
2022-09-07 17:36:18 +00:00
footer ul li {
display: block;
2022-07-04 22:05:12 +00:00
}
2022-09-07 17:36:18 +00:00
}