feedless/web/public/shared.css

385 lines
5.8 KiB
CSS
Raw Normal View History

2020-04-08 08:44:23 +02:00
* {
box-sizing: border-box;
}
2020-04-06 08:26:31 +02:00
body {
2020-04-19 09:39:11 +02:00
font-family: Helvetica, Arial, sans-serif;
2020-04-06 08:26:31 +02:00
margin: 0;
2020-04-06 10:16:50 +02:00
line-height: 1.3em;
word-wrap: break-word;
2020-04-10 08:53:30 +02:00
font-size: 16px;
2020-04-19 09:39:11 +02:00
color: #044;
2020-04-06 08:26:31 +02:00
}
2020-04-13 11:39:52 +02:00
a {
color: #666;
}
2020-04-10 08:53:30 +02:00
button,
a.button,
2020-04-11 18:03:58 +02:00
input[type="submit"] {
2020-04-08 08:44:23 +02:00
font-size: 14px;
2020-04-19 12:50:16 +02:00
background: #e7e7e7;
border: 1px solid #5f5f5f;
color: #555;
2020-04-08 08:44:23 +02:00
border-radius: 3px;
2020-04-19 12:50:16 +02:00
padding: 6px 10px;
2020-04-08 08:44:23 +02:00
cursor: pointer;
2020-04-10 08:53:30 +02:00
text-decoration: none;
display: inline-block;
2020-04-19 12:50:16 +02:00
height: 33px;
-webkit-appearance: none;
2020-04-19 12:50:16 +02:00
}
button:hover,
a.button:hover,
input[type="submit"]:hover {
background: #ccc;
2020-04-08 08:44:23 +02:00
}
2020-04-10 08:53:30 +02:00
button.button-big,
a.button.button-big,
2020-04-11 18:03:58 +02:00
input[type="submit"].button-big {
2020-04-10 08:53:30 +02:00
padding: 16px 20px;
font-size: 18px;
height: auto;
2020-04-10 08:53:30 +02:00
}
2020-04-19 12:50:16 +02:00
button.button-blue,
a.button.button-blue,
input[type="submit"].button-blue {
background: #7fe7e7;
color: #044;
2020-04-10 08:53:30 +02:00
}
2020-04-19 12:50:16 +02:00
button.button-blue:hover,
a.button.button-blue:hover,
input[type="submit"].button-blue:hover {
background: #6bc4c4;
}
button.button-yellow {
background: #fcd204;
color: #540;
}
button.button-yellow:hover {
background: #ddb904;
2020-04-10 08:53:30 +02:00
}
2020-04-11 13:02:05 +02:00
input[type="text"],
input[type="email"],
2020-04-10 08:53:30 +02:00
textarea {
line-height: 32px;
padding: 0 6px;
width: 100%;
font-size: 15px;
margin-top: 8px;
2020-04-21 23:13:55 +02:00
border: 1px solid #bbb;
2020-04-10 08:53:30 +02:00
}
2020-04-06 08:26:31 +02:00
.right-items {
display: flex;
margin-left: auto;
align-items: center;
}
.input-search {
border-radius: 20px;
padding: 5px 5px 5px 27px;
2020-04-19 09:39:11 +02:00
border: none;
2020-04-06 08:26:31 +02:00
width: 150px;
}
.search-icon {
position: absolute;
2020-04-19 09:39:11 +02:00
margin-top: 2px;
2020-04-06 08:26:31 +02:00
margin-left: 7px;
}
2020-04-06 10:16:50 +02:00
2020-04-18 09:55:55 +02:00
.no-link-style {
text-decoration: none;
2020-04-19 09:39:11 +02:00
color: inherit;
2020-04-18 09:55:55 +02:00
}
2020-04-19 09:39:11 +02:00
.screen-center {
2020-04-19 12:50:16 +02:00
margin: 0 auto;
max-width: 792px;
}
.home-page .screen-center {
2020-04-06 10:16:50 +02:00
margin: 0 auto;
2020-04-19 09:39:11 +02:00
max-width: 992px;
}
.white-page {
background: #fff;
border-radius: 5px;
padding: 25px 25px 40px 25px;
2020-04-06 10:16:50 +02:00
}
.columns {
display: flex;
align-content: stretch;
2020-04-06 10:16:50 +02:00
}
2020-04-13 10:50:30 +02:00
.reverse-columns {
display: flex;
align-content: stretch;
flex-direction: row-reverse;
}
2020-04-06 10:16:50 +02:00
h1 {
font-weight: bold;
line-height: 1.3em;
2020-04-10 08:53:30 +02:00
margin: 0;
2020-04-19 09:39:11 +02:00
padding: 0;
2020-04-10 08:53:30 +02:00
}
h2 {
2020-04-19 09:39:11 +02:00
font-size: 18px;
margin-top: 0;
font-weight: normal;
2020-04-06 10:16:50 +02:00
}
.post {
display: flex;
2020-04-13 10:50:30 +02:00
padding: 10px 0;
border-top: 1px solid #ddd;
2020-04-06 10:16:50 +02:00
}
.post-profile-pic {
2020-04-19 12:50:16 +02:00
width: 48px;
max-height: 200px;
2020-04-19 12:50:16 +02:00
border: 1px solid #044;
min-height: 48px;
2020-04-06 10:16:50 +02:00
}
.post-content {
padding-left: 10px;
2020-04-25 12:01:22 +02:00
width: calc(100% - 48px);
2020-04-06 10:16:50 +02:00
}
2020-04-19 09:39:11 +02:00
.wall {
2020-04-19 12:50:16 +02:00
max-width: 592px;
2020-04-19 09:39:11 +02:00
padding: 14px;
flex-grow: 1;
background: #fff;
2020-04-21 23:13:55 +02:00
min-height: 300px;
2020-04-06 10:16:50 +02:00
}
.entrance {
background: #fbb;
}
.entrance header {
display: none;
}
.column-side-padding {
padding: 0 14px;
}
2020-04-19 09:39:11 +02:00
.profile-pic {
width: 128px;
2020-04-19 12:50:16 +02:00
border: 1px solid #044;
min-height: 128px;
2020-04-19 12:50:16 +02:00
}
.profile-actions form {
display: inline-block;
2020-04-11 18:03:58 +02:00
}
2020-04-08 08:44:23 +02:00
.overlay {
position: fixed;
z-index: 1;
background: rgba(0, 0, 0, 0.4);
2020-04-08 08:44:23 +02:00
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.modal {
position: fixed;
z-index: 2;
background: #fff;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
min-width: 400px;
box-shadow: 0 0 15px rgba(0, 0, 0, 0.8);
2020-04-08 08:44:23 +02:00
}
.modal-header {
display: flex;
align-items: center;
padding: 10px;
padding-bottom: 0;
font-weight: bold;
text-decoration: none;
color: #000;
2020-04-08 08:44:23 +02:00
}
.modal-body {
padding: 10px;
2020-04-19 12:50:16 +02:00
color: #000;
2020-04-08 08:44:23 +02:00
}
.modal-footer {
padding: 10px;
background: #fffbf4;
border-top: 1px solid #ddd;
font-size: 12px;
display: flex;
align-items: center;
justify-content: space-between;
}
2020-04-10 08:53:30 +02:00
2020-04-22 22:37:48 +02:00
.modal-footer a {
color: #fff;
font-size: 16px;
text-decoration: none;
margin-top: 2px;
padding: 0 8px;
}
2020-04-10 08:53:30 +02:00
.profile-pic-placeholder {
min-width: 100px;
width: 100px;
height: 100px;
border: 5px solid #fff;
box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
background: #ddd;
}
.profile-pic-placeholder img {
max-width: 100%;
display: block;
}
2020-04-13 10:50:30 +02:00
2020-04-18 09:55:55 +02:00
.link-block {
2020-04-13 10:50:30 +02:00
border-radius: 3px;
display: flex;
align-items: center;
margin-bottom: 5px;
text-decoration: none;
color: #000;
2020-04-19 09:39:11 +02:00
padding: 0;
2020-04-13 10:50:30 +02:00
}
2020-04-18 09:55:55 +02:00
.link-block:hover {
2020-04-19 09:39:11 +02:00
text-decoration: underline;
}
.link-profile-pic {
width: 32px;
max-height: 100px;
margin-right: 5px;
min-height: 32px;
2020-04-13 10:50:30 +02:00
}
2020-04-19 12:52:10 +02:00
.secret-button {
width: 100%;
text-align: left;
display: flex;
align-items: center;
padding: 5px 14px;
background: none;
color: #000;
2020-04-19 12:50:16 +02:00
height: auto;
border: none;
}
2020-04-19 12:52:10 +02:00
.secret-button:hover {
text-decoration: none;
background: #ed6;
}
2020-04-19 12:52:10 +02:00
.secret-button .link-profile-pic {
width: 48px;
}
2020-04-13 10:50:30 +02:00
.compose-post {
border-radius: 5px;
border: 1px solid #aaaaaa;
resize: none;
width: 100%;
padding: 8px;
2020-04-19 09:39:11 +02:00
height: 50px;
font-size: 13px;
line-height: 1.2em;
2020-04-13 10:50:30 +02:00
}
2020-04-13 11:11:51 +02:00
.undo-request:hover:after {
content: " (undo)";
}
.key-block {
white-space: pre-wrap;
background: #f5f5f5;
border: 1px solid #ccc;
border-radius: 3px;
padding: 10px;
}
2020-04-21 08:41:10 +02:00
.community-topic-link {
justify-content: space-between;
padding: 8px 0;
border-top: 1px solid #ccc;
text-decoration: none;
}
.community-topic-link:hover .community-topic-name {
text-decoration: underline;
}
2020-04-25 08:34:36 +02:00
.community-topic-name {
width: calc(100% - 110px);
}
.community-topic-replies {
width: 110px;
text-align: right;
2020-04-25 08:34:36 +02:00
}
.index-welcome {
background: #8debf5;
padding: 50px;
}
.index-explanation {
background: #fbb;
padding: 50px 0;
color: #600;
}
.index-explanation ul {
padding-left: 15px;
}
.index-explanation li {
padding: 6px 0;
}
.index-more-details {
display: none;
}
@media (max-width: 576px) {
header {
/* For responsiveness on login and singup pages, because I was too lazy to do a mobile focused version for those */
2020-04-26 10:46:07 +02:00
padding: 10px !important;
}
.index-welcome {
height: 98vh;
padding: 30px;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.index-explanation {
padding: 14px;
}
.index-more-details {
background: none;
border: none;
align-content: flex-end;
}
.index-more-details {
display: block;
}
.index-explanation {
height: 100vh;
}
}