feedless/app/public/style.css

342 lines
5.0 KiB
CSS

* {
box-sizing: border-box;
}
body {
font-family: Helvetica, Arial, sans-serif;
margin: 0;
line-height: 1.3em;
word-wrap: break-word;
font-size: 16px;
background: #8debf5;
color: #044;
}
a {
color: #666;
}
button,
a.button,
input[type="submit"] {
font-size: 14px;
background: #08d;
color: #fff;
border-radius: 3px;
padding: 8px 10px;
border: none;
cursor: pointer;
text-decoration: none;
display: inline-block;
}
button.button-big,
a.button.button-big,
input[type="submit"].button-big {
padding: 16px 20px;
font-size: 18px;
}
button.button-secondary,
a.button.button-secondary,
input[type="submit"].button-secondary {
background: #ddd;
color: #5f5f5f;
}
button.button-secondary:hover,
a.button.button-secondary:hover,
input[type="submit"].button-secondary:hover {
background: #959eab;
color: #fff;
}
input[type="text"],
input[type="email"],
textarea {
line-height: 32px;
padding: 0 6px;
width: 100%;
font-size: 15px;
margin-top: 8px;
}
header {
display: flex;
align-items: center;
padding: 40px 0;
}
nav {
display: flex;
background: #fff;
border-radius: 5px;
padding: 0 5px;
}
header a {
text-decoration: none;
padding: 8px 8px 5px 8px;
color: #044;
}
header a:hover {
text-decoration: underline;
}
header .logo a:hover {
background: none;
}
.logo {
font-weight: bold;
padding-right: 20px;
font-size: 30px;
}
.right-items {
display: flex;
margin-left: auto;
align-items: center;
}
.input-search {
border-radius: 20px;
padding: 5px 5px 5px 27px;
border: none;
width: 150px;
}
.search-icon {
position: absolute;
margin-top: 2px;
margin-left: 7px;
}
.no-link-style {
text-decoration: none;
color: inherit;
}
.screen-center {
margin: 0 auto;
max-width: 992px;
}
.white-page {
background: #fff;
border-radius: 5px;
padding: 25px 25px 40px 25px;
}
.columns {
display: flex;
align-content: stretch;
}
.reverse-columns {
display: flex;
align-content: stretch;
flex-direction: row-reverse;
}
h1 {
font-weight: bold;
line-height: 1.3em;
margin: 0;
padding: 0;
}
h2 {
font-size: 18px;
margin-top: 0;
font-weight: normal;
}
.post {
display: flex;
padding: 10px 0;
border-top: 1px solid #ddd;
}
.post-profile-pic {
width: 64px;
max-height: 200px;
}
.post-content {
padding-left: 10px;
}
.wall {
padding: 14px;
flex-grow: 1;
background: #fff;
}
.friends-communities {
min-width: 200px;
max-width: 200px;
background: #fbb;
color: #600;
padding: 14px;
border-radius: 0 5px 5px 0;
}
.friends-communities .link-profile-pic {
border: 1px solid #600;
}
.vanishing-chat {
min-width: 200px;
max-width: 200px;
background: #fe7;
color: #650;
padding: 14px 0;
border-radius: 5px 0 0 5px;
}
.column-side-padding {
padding: 0 14px;
}
.vanishing-chat .link-profile-pic {
border: 1px solid #650;
}
.profile-pic {
width: 128px;
}
.overlay {
display: none;
position: fixed;
z-index: 1;
background: rgba(0, 0, 0, 0.4);
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.modal {
display: none;
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);
}
.modal-header {
display: flex;
align-items: center;
padding: 10px;
padding-bottom: 0;
font-weight: bold;
text-decoration: none;
color: #000;
}
.modal-body {
padding: 10px;
}
.modal-footer {
padding: 10px;
background: #fffbf4;
border-top: 1px solid #ddd;
font-size: 12px;
display: flex;
align-items: center;
justify-content: space-between;
}
.entrance {
background: url("/images/bg.jpg") center center #000;
background-size: cover;
}
.entrance main {
margin: 0;
background: rgba(0, 0, 0, 0.7);
width: 100vw;
min-height: 100vh;
max-width: none;
}
.entrance-content {
color: #fff;
margin: 0 auto;
max-width: 800px;
}
.entrance h1 {
font-size: 60px;
}
.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;
}
.link-block {
border-radius: 3px;
display: flex;
align-items: center;
margin-bottom: 5px;
text-decoration: none;
color: #000;
padding: 0;
}
.link-block:hover {
text-decoration: underline;
}
.link-profile-pic {
width: 32px;
max-height: 100px;
margin-right: 5px;
}
.vanishing-button {
width: 100%;
text-align: left;
display: flex;
align-items: center;
padding: 5px 14px;
background: none;
color: #000;
}
.vanishing-button:hover {
text-decoration: none;
background: #ed6;
}
.vanishing-button .link-profile-pic {
width: 48px;
}
.compose-post {
border-radius: 5px;
border: 1px solid #aaaaaa;
resize: none;
width: 100%;
padding: 8px;
height: 50px;
font-size: 13px;
line-height: 1.2em;
}
.undo-request:hover:after {
content: " (undo)";
}
.key-block {
white-space: pre-wrap;
background: #f5f5f5;
border: 1px solid #ccc;
border-radius: 3px;
padding: 10px;
}