New home UI
This commit is contained in:
parent
e8ee2ac4aa
commit
3d3ab23d27
15 changed files with 676 additions and 378 deletions
|
@ -232,7 +232,7 @@ header {
|
|||
}
|
||||
|
||||
#navigation {
|
||||
position: relative;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
|
@ -382,7 +382,7 @@ hr {
|
|||
}
|
||||
|
||||
#content {
|
||||
margin: 1em auto auto;
|
||||
margin: 4.5em auto 1em auto;
|
||||
|
||||
// Header
|
||||
width: 90%;
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
|
||||
.blog-content {
|
||||
padding-right: 0em;
|
||||
flex: 73.5%;
|
||||
vertical-align: top;
|
||||
margin-right: 0;
|
||||
width: 100%;
|
||||
|
||||
.post {
|
||||
border: 1px dotted grey;
|
||||
|
@ -33,7 +33,8 @@
|
|||
}
|
||||
|
||||
.blog-sidebar {
|
||||
flex: 26.5%;
|
||||
width: 100%;
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
.blog-sidebox {
|
||||
|
@ -88,6 +89,19 @@
|
|||
color: #555;
|
||||
}
|
||||
|
||||
@media (max-width: 799px) {
|
||||
.left-sidebar-header {
|
||||
display: none;
|
||||
}
|
||||
.left-sidebar-item {
|
||||
display: inline-block;
|
||||
}
|
||||
.blog-left-sidebar {
|
||||
text-align: right;
|
||||
padding-right: 1em;
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
}
|
||||
@media (min-width: 800px) {
|
||||
.blog-content, .blog-sidebar {
|
||||
display: block !important;
|
||||
|
@ -104,6 +118,28 @@
|
|||
#blog-container {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.blog-content {
|
||||
max-width: 71.5%;
|
||||
margin-left: 10%;
|
||||
}
|
||||
|
||||
.blog-sidebar {
|
||||
width: 18%;
|
||||
}
|
||||
|
||||
.blog-left-sidebar {
|
||||
width: 8%;
|
||||
margin-right: 1em;
|
||||
position: fixed;
|
||||
height: 100%;
|
||||
margin-top: -4em;
|
||||
padding-top: 4em;
|
||||
}
|
||||
|
||||
.feed-table {
|
||||
font-size: small;
|
||||
}
|
||||
}
|
||||
|
||||
#mobile.tabs {
|
||||
|
@ -135,3 +171,63 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
.blog-box {
|
||||
border-bottom: 1px solid black;
|
||||
width: 90%;
|
||||
margin-bottom: 2.5em;
|
||||
padding: 0.5em 1.25em;
|
||||
background-color: white;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
.blog-description {
|
||||
max-height: 20em;
|
||||
overflow: hidden;
|
||||
overflow-wrap: anywhere;
|
||||
padding-bottom: 1em;
|
||||
}
|
||||
.problem-feed-name {
|
||||
display: inline;
|
||||
font-weight: bold;
|
||||
}
|
||||
.problem-feed-name a {
|
||||
color: #0645ad;
|
||||
}
|
||||
.problem-feed-info-entry {
|
||||
display: inline;
|
||||
float: right;
|
||||
}
|
||||
.problem-feed-types {
|
||||
color: gray;
|
||||
}
|
||||
|
||||
.blog-left-sidebar {
|
||||
background-color: #f0f1f3;
|
||||
color: #616161;
|
||||
}
|
||||
|
||||
.left-sidebar-item {
|
||||
padding: 1em 0.5em;
|
||||
text-align: center;
|
||||
}
|
||||
.left-sidebar-item:hover {
|
||||
background-color: lightgray;
|
||||
cursor: pointer;
|
||||
}
|
||||
.sidebar-icon {
|
||||
font-size: x-large;
|
||||
margin-bottom: 0.1em;
|
||||
color: black;
|
||||
}
|
||||
.left-sidebar-header {
|
||||
text-align: center;
|
||||
padding-bottom: 1em;
|
||||
border-bottom: 1px solid black;
|
||||
color: black;
|
||||
border-radius: 0;
|
||||
}
|
||||
.feed-table {
|
||||
margin: 0;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue