feedless/web/public/mobile.css

246 lines
3.5 KiB
CSS

body {
padding-bottom: 70px;
display: flex;
flex-direction: column;
min-height: 100vh;
}
nav {
display: flex;
background: #fff;
padding: 0 5px;
font-size: 14px;
position: fixed;
bottom: 0;
justify-content: space-between;
width: 100%;
padding: 0;
border-top: 1px solid #aaa;
border-bottom: 1px solid #aaa;
}
header {
display: flex;
padding: 10px;
background: #333;
justify-content: space-between;
}
.logo {
color: #fff;
text-decoration: none;
font-weight: bold;
padding-right: 20px;
font-size: 20px;
}
nav a {
text-decoration: none;
padding: 8px 10px;
}
nav a.selected {
background: #ccc;
}
.nav-icon {
font-size: 30px;
text-align: center;
padding: 8px 0 5px 0;
}
.post {
padding: 10px;
}
.modal {
top: 100%;
left: 0;
transform: none;
min-width: auto;
width: 100%;
height: 100%;
animation: slide 0.5s forwards;
}
@keyframes slide {
100% {
top: 0;
}
}
.modal-group {
height: 100%;
display: flex;
flex-direction: column;
}
.modal-body-center {
flex-grow: 1;
display: flex;
align-items: center;
justify-content: center;
}
.modal-center-message {
margin-top: -60px;
line-height: 1.4em;
text-align: center;
font-size: 30px;
}
.modal-footer {
border-bottom: 1px solid #ddd;
background: #333;
color: #fff;
}
.yellow-background {
flex-grow: 1;
background: #fe7;
color: #650;
}
.yellow-background .link-profile-pic {
border: 1px solid #650;
}
.yellow-background.no-secrets {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
align-content: center;
}
.yellow-background .link-profile-pic {
margin-right: 12px;
}
.secret-button {
padding: 8px 14px;
font-size: 16px;
}
a.compose-new-button {
display: flex;
align-items: center;
justify-content: center;
text-decoration: none;
}
.compose-new-button {
position: fixed;
bottom: 95px;
width: 65px;
height: 65px;
right: 20px;
border-radius: 100%;
border: 0;
box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
background: #fb1;
border: 1px solid #9b6617;
color: #684510;
}
.compose-new-button:hover {
background: #fb1;
}
.pink-background {
background: #fbb;
color: #600;
padding: 14px;
border-radius: 0 5px 5px 0;
flex-grow: 1;
}
.pink-background .link-profile-pic {
border: 1px solid #600;
}
.tabs {
border-bottom: 1px solid #5f5f5f;
}
.tab-title {
border: 1px solid #5f5f5f;
background: #eee;
border-radius: 5px 5px 0 0;
margin-bottom: -1px;
height: 32px;
padding: 0 20px;
}
.tab-title.tab-selected {
background: #fff;
border-bottom: none;
height: 33px;
}
.community-topic-link {
padding: 10px;
}
.search-icon {
margin: 22px 0 0 10px;
font-size: 24px;
}
.input-search {
width: 100%;
border-radius: none;
line-height: 32px;
padding: 6px 6px 6px 40px;
width: 100%;
font-size: 15px;
margin-top: 8px;
border: 1px solid #bbb;
}
.link-block {
padding: 5px 0;
margin: 0;
}
.open-menu {
background: none;
border: none;
padding: 0;
height: auto;
}
.open-menu:hover {
background: none;
}
.menu-dash {
width: 25px;
height: 3px;
background: #fff;
border-radius: 5px;
margin-top: 4px;
}
.menu-dash:first-child {
margin: 0;
}
.top-menu {
background: #fff;
display: flex;
flex-direction: column;
position: absolute;
margin-top: 20px;
width: 40vw;
right: 20px;
box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
z-index: 2;
}
.top-menu a {
display: block;
text-decoration: none;
padding: 14px;
border-bottom: 1px solid #ddd;
}