Local homepage
Basically the same thing as currently online, except templated, and trimmed from useless stuff, but needs modernization.
This commit is contained in:
parent
8d07123713
commit
e26fa6a011
4 changed files with 230 additions and 8 deletions
85
hm/desktop/browser/homepage.css
Normal file
85
hm/desktop/browser/homepage.css
Normal file
|
@ -0,0 +1,85 @@
|
|||
html {
|
||||
background-image: linear-gradient(#e6f0a3 0%, #d2e638 50%, #c3d825 51%, #dbf043 100%);
|
||||
min-height: 100%;
|
||||
}
|
||||
|
||||
body {
|
||||
font: 20px Helvetica, sans-serif;
|
||||
padding: 5% 0;
|
||||
}
|
||||
|
||||
|
||||
article {
|
||||
margin: 0 auto;
|
||||
max-width: 95%;
|
||||
}
|
||||
|
||||
h1, h2 {
|
||||
display: none;
|
||||
}
|
||||
|
||||
nav div, nav a {
|
||||
background: rgba(255, 255, 255, 0.8);
|
||||
width: 110px;
|
||||
height: 100px;
|
||||
display: inline-block;
|
||||
padding: 15px 0;
|
||||
margin: 0px 5px 10px;
|
||||
border: 1px solid #ddd;
|
||||
border-radius: 5px;
|
||||
text-align: center;
|
||||
vertical-align: top;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
|
||||
@media only screen and (min-width: 768px) {
|
||||
nav {
|
||||
margin-left: 110px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
nav div {
|
||||
position: absolute;
|
||||
left: -130px;
|
||||
}
|
||||
}
|
||||
|
||||
nav div img {
|
||||
margin: auto;
|
||||
max-width: 90%;
|
||||
max-height: 70%;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
}
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
nav a:hover {
|
||||
background: rgba(240, 240, 240, 0.8);
|
||||
}
|
||||
|
||||
nav a:active {
|
||||
background: rgba(220, 220, 220, 0.8);
|
||||
}
|
||||
|
||||
|
||||
nav a>.fa, nav a>.fa-stack{
|
||||
width: 100%;
|
||||
margin-top: .25em;
|
||||
margin-bottom: .35em;
|
||||
font-size: 32px;
|
||||
}
|
||||
|
||||
nav a span {
|
||||
display: block;
|
||||
margin-top: .55em;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue