Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Add support for mobile screen sizes
Co-authored-by: guyskk <guyskk@qq.com>
  • Loading branch information
bitboxer and guyskk committed Apr 21, 2022
commit b68e2411fe2da6ab7173ede9a4771c7712e6430e
39 changes: 37 additions & 2 deletions app/assets/stylesheets/application.css
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,23 @@ code {
border-top: 7px solid #484948;
}

@media (max-width: 768px) {
#footer .row-fluid > * {
display: none;
}

#footer .row-fluid > .span6:first-child {
display: block;
width: 100%;
text-align: center;
}

#frame {
padding-top: 7px;
border-top: none;
}
}

.alert {
text-align: center;
-webkit-border-radius: 0px;
Expand Down Expand Up @@ -108,6 +125,13 @@ code {
margin-bottom: 14px;
}

@media (max-width: 768px) {
#action-bar {
margin-left: 8px;
margin-right: 8px;
}
}

ul#story-list, ul#feed-list {
list-style-type: none;
margin-left: 0px;
Expand Down Expand Up @@ -176,7 +200,7 @@ li.story.open .story-preview {
}

.story-lead {
color: #e5e5e5;
color: #c5c5c5;
}

.story-published {
Expand Down Expand Up @@ -251,7 +275,7 @@ li.story.open .story-body-container {
}

p.story-details {
margin-right: 5px;
margin-right: 14px;
overflow: hidden;
}

Expand Down Expand Up @@ -369,6 +393,17 @@ li.feed .feed-last-updated {
text-align: right;
}

@media (max-width: 768px) {
li.feed .feed-last-updated {
display: none;
}

li.feed .row-fluid .span2 {
float: right;
margin-right: 21px;
}
}

li.feed .last-updated {
font-size: 10px;
}
Expand Down