1
0
Fork 0
mirror of https://github.com/Lynnesbian/FediBooks/ synced 2024-11-25 16:48:58 +00:00
FediBooks/app/static/style.css

249 lines
3.5 KiB
CSS
Raw Normal View History

body {
font-family: "Roboto", sans-serif;
2019-08-30 03:56:28 +00:00
margin: 2%;
background-color: #282c37;
color: white;
2019-08-29 05:08:11 +00:00
}
* {
box-sizing: border-box;
}
.container {
background-color: #444a5c;
2019-09-02 10:45:58 +00:00
padding: 10px;
}
.light {
2019-08-29 01:14:42 +00:00
background-color: #4d5366;
}
.column {
flex-grow: 1;
flex-basis: 0;
padding: 10px;
}
.large {
font-size: 1.2em;
}
2019-08-29 05:08:11 +00:00
.small {
font-size: 0.8em;
}
.tiny {
font-size: 0.5em;
}
2019-08-29 01:14:42 +00:00
.centred {
text-align: center;
}
.thin {
font-weight: 300;
}
.subtle {
2019-09-01 04:04:32 +00:00
color: #ccc;
2019-08-29 01:14:42 +00:00
}
.row {
display: flex;
}
2019-08-29 01:35:06 +00:00
.full-width {
width: 100%;
}
2019-09-07 04:01:06 +00:00
.no-margin {
margin: 0;
}
.left-align {
text-align: left;
}
2019-08-31 13:57:38 +00:00
.panel-icon {
2019-09-01 04:52:39 +00:00
width: 100px;
height: 100px;
2019-09-02 07:38:29 +00:00
background: center/contain url("/img/bot_generic.png");
2019-09-18 02:56:33 +00:00
background-repeat: no-repeat;
}
.panel-icon.large {
width: 150px;
height: 150px;
}
2019-09-01 04:52:39 +00:00
.panel-icon.online, .panel-icon.offline {
width: 105px;
}
.panel-icon.online {
border-left: 5px #5c5 solid;
}
.panel-icon.offline {
border-left: 5px #c33 solid;
}
2019-08-31 13:57:38 +00:00
.panel-icon, .panel-text, .panel-actions {
display: inline-block;
align-self: center;
}
2019-08-31 13:57:38 +00:00
.panel-text {
flex-grow: 1;
2019-09-17 09:20:27 +00:00
margin: 0 0 10px 15px;
}
2019-08-31 13:57:38 +00:00
.panel-name {
font-size: 1.8em;
margin: 10px 0;
}
2019-08-31 13:57:38 +00:00
.panel-actions {
margin-right: 10px;
}
2019-08-29 01:35:06 +00:00
.button {
color: white;
2019-09-02 10:45:58 +00:00
line-height: 1.2em;
padding: 10px;
text-decoration: none;
display: inline-block;
margin: 5px 0;
transition: 0.2s linear;
2019-09-02 10:45:58 +00:00
border: none;
}
2019-08-29 01:35:06 +00:00
.button:visited {
2019-09-02 10:45:58 +00:00
color: white;
}
2019-08-30 03:18:51 +00:00
input.button, button.button {
2019-08-29 01:35:06 +00:00
font-size: 1em;
2019-09-02 10:45:58 +00:00
cursor: pointer;
2019-08-29 01:35:06 +00:00
}
2019-08-29 01:35:06 +00:00
.btn-primary {
background-color: #9370db;
border-color: #9370db;
}
2019-08-29 01:35:06 +00:00
.btn-primary:hover {
background-color: #7859b6;
border-color: #7859b6;
}
2019-08-29 01:35:06 +00:00
.btn-secondary {
background-color: #999;
}
2019-08-29 01:35:06 +00:00
.btn-secondary:hover {
background-color: #777;
}
2019-09-06 10:54:29 +00:00
.btn-large, button.btn-large {
font-size: 1.6em;
}
.btn-dangerous {
background-color: #e22;
}
.btn-dangerous:hover {
background-color: #c22;
}
a {
color: mediumpurple;
text-decoration: none;
}
a:visited {
2019-09-02 10:43:48 +00:00
color: mediumpurple;
}
2019-09-10 02:22:42 +00:00
p {
line-height: 1.4em;
}
h1 {
font-size: 4em;
2019-08-29 01:14:42 +00:00
margin-top: 10px !important;
}
h1, h2, h3, h4, h5, h6 {
font-weight: 400;
margin: 0;
}
2019-08-29 01:35:06 +00:00
form {
2019-09-02 10:45:58 +00:00
display: inline-block;
2019-08-29 01:35:06 +00:00
}
label.important {
font-size: 1.4em;
margin: 10px 0;
font-weight: 300;
2019-09-02 10:45:58 +00:00
display: block;
text-align: center;
2019-08-29 01:35:06 +00:00
}
2019-09-06 10:54:29 +00:00
input, select, textarea {
2019-08-29 05:08:11 +00:00
font-size: 1.2em;
2019-09-02 10:45:58 +00:00
line-height: 1.4em;
2019-08-29 05:08:11 +00:00
border: 3px grey solid;
border-radius: none;
padding: 3px;
2019-09-06 10:54:29 +00:00
font-family: "Roboto", sans-serif;
2019-08-29 05:08:11 +00:00
}
2019-09-06 10:54:29 +00:00
input:focus, select:focus, textarea:focus {
2019-08-29 05:08:11 +00:00
border: 3px mediumpurple solid;
}
2019-08-29 13:51:31 +00:00
2019-09-10 03:36:36 +00:00
input[type="checkbox"] {
height: 1.4em;
}
2019-08-29 13:51:31 +00:00
label, input {
flex-basis: 0;
2019-09-10 03:36:36 +00:00
text-align: left;
2019-08-29 13:51:31 +00:00
}
label {
flex-grow: 1;
}
form .row {
margin: 10px 0;
}
.coming-soon {
height: 200px;
width: 200px;
background: center/contain url("https://lynnesbian.space/img/bune.png");
display: inline-block;
}
2019-09-09 12:08:43 +00:00
.error, .success {
color: white;
text-align: center;
font-size: 1.6em;
padding: 10px;
}
2019-09-09 12:08:43 +00:00
.error {
background-color: #e66;
}
.error.err-small {
font-size: 1.0em;
}
.success {
background-color: #6e6;
}
2019-09-23 03:30:45 +00:00
#chatbox {
height: 90vh;
background-color: #3d4353;
padding: 10px;
}
#chatbox-input, #chatbox-input input{
width: 100%;
}
.message {
display: inline-block;
padding: 5px;
min-height: 30px;
max-width: 60%;
}
.message-container.user {
text-align: right;
}
.message-container .bot-icon {
background: center / contain url("https://lynnesbian.space/img/bune.png") no-repeat;
height: 30px;
width: 30px;
display: inline-block;
padding: 5px;
}
.message.bot {
background-color: mediumpurple;
color: white;
vertical-align: top;
}
.message.user {
background-color: #ddd;
color: #333;
}