1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586 |
- @import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;500;600;700;800;900&display=swap");
- body {
- margin: 0;
- font-family: Montserrat, sans-serif;
- }
- p {
- margin: 0;
- }
- .aio-news-wrapper {
- background-color: #ffd3b6;
- width: 100vw;
- height: 100vh;
- display: flex;
- justify-content: center;
- gap: 60px;
- }
- @media only screen and (max-width: 768px) {
- .aio-news-wrapper {
- flex-direction: column;
- }
- }
- .aio-news-wrapper .news-element {
- background-color: #dcedc1;
- display: flex;
- flex-direction: column;
- justify-content: center;
- width: 40%;
- height: 40%;
- align-self: center;
- }
- @media only screen and (max-width: 1200px) {
- .aio-news-wrapper .news-element {
- width: 30%;
- }
- }
- @media only screen and (max-width: 768px) {
- .aio-news-wrapper .news-element {
- width: 80%;
- }
- }
- .aio-news-wrapper .news-element p {
- margin-left: 30px;
- }
- .aio-news-wrapper .news-element p:nth-child(1) {
- font-weight: 300;
- font-size: 20px;
- padding-bottom: 0px;
- }
- @media only screen and (max-width: 768px) {
- .aio-news-wrapper .news-element p:nth-child(1) {
- font-size: 30px;
- }
- }
- .aio-news-wrapper .news-element p:nth-child(2) {
- font-weight: 500;
- font-size: 60px;
- line-height: 60px;
- padding-bottom: 20px;
- }
- .aio-news-wrapper .news-element p:nth-child(3) {
- font-weight: 400;
- font-size: 20px;
- padding-bottom: 20px;
- width: 80%;
- }
- .aio-news-wrapper .news-element a {
- align-self: flex-end;
- margin-right: 30px;
- background-color: #ffffff;
- color: #ffd3b6;
- text-decoration: none;
- font-weight: 500;
- padding: 8px;
- }
- .aio-news-wrapper .news-element a:hover {
- background-color: #ffd3b6;
- color: #ffffff;
- }
- @media only screen and (max-width: 1200px) {
- .aio-news-wrapper .news-element a:hover {
- background-color: #ffffff;
- color: #ffd3b6;
- }
- }/*# sourceMappingURL=news.css.map */
|