123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178 |
- body {
- font: 18px/25px 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
- }
- *,
- *:before,
- *:after {
- box-sizing: border-box;
- }
- header {
- display: flex;
- justify-content: space-between;
- background-color: yellow;
- max-height: 15vh;
- align-items: center;
- }
- .logo img {
- max-height: 10vh;
- }
- nav ul li {
- display: inline;
- padding-right: 20px;
- }
- nav ul li a:hover {
- color: red;
- }
- nav ul li a {
- text-decoration: none;
- }
- footer {
- background-color: green;
- text-align: center;
- }
- .wrapper {
- display: flex;
- min-height: 100vh;
- }
- .aside1, .aside2 {
- width: 210px;
- text-align: center;
- padding-top: 10px;
- }
- .aside1 {
- order: 1;
- background-color: palevioletred;
- }
- .aside2 {
- order: 3;
- background-color: grey;
- }
- .center {
- display: flex;
- padding: 5px;
- order: 2;
- flex-direction: column;
- align-items: center;
- flex-grow: 1;
- }
- .square1,
- .square2,
- .square3,
- .square4,
- .square5,
- .square6 {
- width: 300px;
- border: solid 2px;
- border-radius: 35px;
- display: flex;
- flex-direction: column;
- align-items: center;
- margin: 20px 0 20px 0;
- padding: 10px;
- text-align: center;
- }
- .bigsquare {
- display: flex;
- flex-wrap: wrap;
- justify-content: space-around;
- align-content: space-between;
- }
- .bigsquare img {
- border-radius: 50%;
- max-width: 15vh;
- padding: 20px;
- }
- h3+p {
- display: flex;
- flex-grow: 1;
- }
- button {
- border-radius: 30px 30px;
- color: white;
- background-color: violet;
- padding: 15px 32px ;
- margin: 4px 2px;
- }
- button:hover {
- color: blue;
- transition: all 0.5s ease-in-out;
- transform: translateY(-20px);
- }
- .holder {
- display: flex;
- flex-wrap: wrap;
- height: 250px;
- width: 500px;
- border: solid 3px;
- border-radius: 38px 38px 0 0;
- }
- .item {
- display: flex;
- align-items: center;
- justify-content: center;
- }
- .item:first-child {
- background-color: #f00;
- order: 1;
- flex-grow:2;
- width: 50%;
- border-radius: 35px 0 0 0;
- }
- .item:nth-child(2) {
- background-color: blue;
- order: 4;
- flex-grow:1;
- height: 50%;
- }
- .item:nth-child(3) {
- background-color: magenta;
- order: 3;
- flex-grow:1;
- height: 50%;
- }
- .item:nth-child(4) {
- background-color: green;
- order: 5;
- flex-grow:1;
- height: 50%;
- }
- .item:nth-child(5) {
- background-color: greenyellow);
- order: 2;
- flex-grow:1;
- height: 50%;
- }
- .item:last-child {
- background-color: orange;
- order: 2;
- flex-grow:2;
- height: 50%;
- width: 50%;
- border-radius: 0 35px 0 0;
- }
|