merge
This commit is contained in:
parent
1ad1cfe592
commit
ccc5852629
9 changed files with 263 additions and 27 deletions
131
style/grey.css
Normal file
131
style/grey.css
Normal file
|
@ -0,0 +1,131 @@
|
|||
.header {
|
||||
width: 100%;
|
||||
min-height: 50px;
|
||||
|
||||
padding: 5px 20px;
|
||||
|
||||
background-color: rgba(10, 10, 10, .2);
|
||||
|
||||
line-height: 40px;
|
||||
|
||||
font-size: 28px;
|
||||
font-weight: 800;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.footer {
|
||||
width: 100%;
|
||||
min-height: 30px;
|
||||
|
||||
padding: 10px 20px;
|
||||
|
||||
background-color: rgba(10, 10, 10, .1);
|
||||
|
||||
font-size: 14px;
|
||||
color: #777;
|
||||
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.wrap {
|
||||
width: 1024px;
|
||||
min-height: 100vh;
|
||||
|
||||
margin: 0 auto;
|
||||
|
||||
background-color: rgba(200,200,200,.2);
|
||||
}
|
||||
|
||||
nav {
|
||||
background-color: rgba(200,200,200,.2);
|
||||
}
|
||||
|
||||
.top-nav__item {
|
||||
display: block;
|
||||
|
||||
float: left;
|
||||
|
||||
padding: 10px 15px 12px;
|
||||
|
||||
border-radius: 2px;
|
||||
|
||||
transition: .2s ease;
|
||||
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.top-nav__item:hover {
|
||||
background-color: #3ce;
|
||||
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.mainContainer {
|
||||
padding: 20px;
|
||||
|
||||
font-size: 14px;
|
||||
color: #333;
|
||||
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.mainContainer h1 {
|
||||
margin: 10px 0 5px 0;
|
||||
|
||||
font-size: 24px;
|
||||
font-weight: 600;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
.mainContainer h2 {
|
||||
margin: 10px 0 5px 0;
|
||||
|
||||
font-size: 22px;
|
||||
font-weight: 600;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
.mainContainer h3 {
|
||||
margin: 10px 0 5px 0;
|
||||
|
||||
font-size: 18px;
|
||||
font-weight: 600;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
.mainContainer h4 {
|
||||
margin: 10px 0 5px 0;
|
||||
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
|
||||
.mainContainer p {
|
||||
margin: 5px 5px 0 10px;
|
||||
|
||||
}
|
||||
|
||||
.mainContainer strong {
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.mainContainer ul,
|
||||
.mainContainer ol {
|
||||
margin: 5px 5px 10px 10px;
|
||||
|
||||
list-style-position: outside;
|
||||
}
|
||||
|
||||
.mainContainer ul li {
|
||||
margin: 5px 5px 0 15px;
|
||||
}
|
||||
|
||||
.mainContainer img {
|
||||
margin: 10px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*!** end-reset ***/
|
119
style/main.css
Normal file
119
style/main.css
Normal file
|
@ -0,0 +1,119 @@
|
|||
body {
|
||||
font-family: sans-serif;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.mainContainer {
|
||||
width: 1024px;
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
.mainContainer > h1 {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
nav {
|
||||
display: flex;
|
||||
overflow: hidden;
|
||||
background-color: #93ff83;
|
||||
}
|
||||
|
||||
nav > a {
|
||||
flex: auto;
|
||||
display: block;
|
||||
float: left;
|
||||
padding: 20px;
|
||||
box-sizing: border-box;
|
||||
text-decoration: none;
|
||||
font-weight: bold;
|
||||
color: inherit;
|
||||
text-align: center;
|
||||
background-color: transparent;
|
||||
font-size: 18px;
|
||||
|
||||
transition: background-color 0.2s ease;
|
||||
}
|
||||
|
||||
nav > a.current {
|
||||
background-color: #5db9ef;
|
||||
}
|
||||
|
||||
nav > a:hover {
|
||||
background-color: rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
nav > a.current:hover {
|
||||
background-color: #5397ca;
|
||||
}
|
||||
|
||||
nav > a:visited {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.margin {
|
||||
margin: 15px;
|
||||
}
|
||||
|
||||
nav > a > div {
|
||||
position: relative;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.thumbnails {
|
||||
text-align: center;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.thumbnails > a {
|
||||
display: block;
|
||||
box-sizing: border-box;
|
||||
float: left;
|
||||
width: 25%;
|
||||
height: 200px;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
.thumbnails > a > div {
|
||||
box-sizing: border-box;
|
||||
height: 100%;
|
||||
border-radius: 5px;
|
||||
font-size: 24px;
|
||||
padding-top: 20px;
|
||||
}
|
||||
|
||||
.c1 {
|
||||
color: aliceblue;
|
||||
background-color: darkred;
|
||||
}
|
||||
|
||||
.c2 {
|
||||
color: aliceblue;
|
||||
background-color: midnightblue;
|
||||
}
|
||||
|
||||
.c3 {
|
||||
color: aliceblue;
|
||||
background-color: indigo;
|
||||
}
|
||||
|
||||
.c4 {
|
||||
color: aliceblue;
|
||||
background-color: seagreen;
|
||||
}
|
||||
|
||||
.clearfix {
|
||||
*zoom: 1;
|
||||
}
|
||||
|
||||
.clearfix:before,
|
||||
.clearfix:after {
|
||||
content: '';
|
||||
display: table;
|
||||
line-height: 0;
|
||||
}
|
||||
|
||||
.clearfix:after {
|
||||
clear: both;
|
||||
}
|
53
style/reset.css
Normal file
53
style/reset.css
Normal file
|
@ -0,0 +1,53 @@
|
|||
* {
|
||||
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
border: 0;
|
||||
font-size: 100%;
|
||||
font: inherit;
|
||||
vertical-align: baseline;
|
||||
box-sizing: border-box;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
*:before,
|
||||
*:after {
|
||||
box-sizing: inherit;
|
||||
}
|
||||
|
||||
*:focus {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
html, body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-family: sans-serif;
|
||||
}
|
||||
|
||||
html {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
article, aside, details, figcaption, figure,
|
||||
footer, header, hgroup, menu, nav, section {
|
||||
display: block;
|
||||
}
|
||||
|
||||
a {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
a:active,
|
||||
a:hover {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
b,
|
||||
strong {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
img {
|
||||
border: 0;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue