123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118 |
- * {
- margin: 0;
- padding: 0;
- box-sizing: border-box;
- font-family: 'myFont';
- }
- html{
- height: 100%;
- }
- a {
- font-variant: normal;
- }
- body {
- font-weight: 400;
- font-size: 24px;
- height: 100%;
- width: 100%;
- background-color: lightgreen;
- display: flex;
- flex-direction: column;
- }
- main {
- flex: auto;
- height: 85%;
- }
- header {
- background-image: linear-gradient(to bottom right, #f7f3ee, #f7f1e6);
- font-size: 14px;
- overflow: hidden;
- top: 0;
- width: 100%;
- height: 9%;
- }
- .logo {
- padding: 1.5px 15px;
- width: 125px;
- height: auto;
- line-height: 110px;
- float: left;
- }
- header::after {
- content: '';
- display: table;
- clear: both;
- }
- nav {
- float: right;
- }
- nav ul {
- margin: 0 30px 0 0;
- padding: 0;
- float: right;
- list-style: none;
- }
- nav ul li {
- display: inline-block;
- margin: 0 5px;
- line-height: 70px;
- }
- nav a {
- color: rgb(116, 55, 44);
- text-decoration: none;
- text-transform: uppercase;
- padding: 7px 13px;
- }
- nav a:focus {
- color: rgb(58, 47, 34)
- }
- nav a:active {
- color: rgb(58, 47, 34)
- }
- .container {
- width: 80%;
- margin: 0 auto;
- }
- p {
- font-size: 16px;
- }
- footer {
- width: 100%;
- font-size: 14px;
- text-align: center;
- background-color: rgb(46, 35, 30);
- vertical-align: middle;
- position: fixed;
- bottom: 0px;
- height: 6%;
- }
- footer p {
- font-size: 1.2em;
- padding: 15px;
- color: blanchedalmond;
- }
- input[type=submit] {
- width: 100%;
- font-size: 20px;
- padding: 12px 20px;
- margin: 10px 10px;
- box-sizing: border-box;
- }
|