| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418 |
- /*
- Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
- Click nbfs://nbhost/SystemFileSystem/Templates/Other/CascadeStyleSheet.css to edit this template
- */
- /*
- Created on : 20 Sept 2024, 2:21:11 pm
- Author : elliot
- */
- p {
- font-size: 70%;
- color: black;
- }
- body {
- background-color: #d4d4d4;
- margin: 0;
- text-align: center;
- font-size: 40px;
- font-family: Verdana, Helvetica;
- }
- .ad-poster img {
- min-width: 300px;
- max-width: 400px;
- height: auto;
- border-radius: 10px;
- justify-content: center;
- display: flex;
- margin-left: 725px;
- flex-direction: row;
- }
- .ad-poster p {
- justify-content: center;
- display: flex;
- margin-left: 725px;
- flex-direction: row;
- }
- html {
- visibility: hidden;
- opacity: 0;
- transition: visibility 3s ease, opacity 3s ease;
- }
- html.loaded {
- visibility: visible;
- opacity: 1;
- }
- .fading-text {
- font-size: 24px;
- opacity: 0;
- transition: opacity 1s ease-in-out;
- }
- .header {
- justify-content: space-between;
- align-items: center;
- text-align: center;
- text-transform: uppercase;
- padding: 32px;
- background-color: #065c65;
- color: #fff;
- border-bottom: 5px solid #434cf0;
- display: flex;
- flex-direction: row; /* Change this line */
- }
- .header h1 {
- position: relative;
- top: 0;
- left: 0;
- }
- .header h2 {
- color: #FFD700;
- font-size: 120%;
- }
- .header a {
- color: white;
- text-decoration: none;
- margin: 10px 0;
- padding: 20px 20px;
- border-radius: 25px;
- transition: background-color 0.3s ease;
- z-index: 1;
- }
- .header a:hover {
- background-color: #054a51;
- }
- .biography {
- display: flex;
- flex-direction: column;
- justify-content: flex-start; /* This ensures that the child elements are aligned to the left */
- padding: 20px;
- font-size: 75%;
- text-align: left;
- }
- .biography h2 {
- text-align: left; /* This ensures that the text within the <h2> element is left-aligned */
- }
- .biography p {
- text-align: left; /* This ensures that the text within the <p> elements is left-aligned */
-
- }
- .my-border {
- border: 5px solid black;
- }
- img:hover {
- transform: scale(1.15); /* increase size by 20% */
- transition: transform 0.3s ease; /* smooth transition */
- }
- .biography img {
- min-width: 300px;
- max-width: 400px;
- height: auto;
- border-radius: 10px;
- margin-left: 20px;
- display: flex;
- flex-direction: row;
- }
- .link {
- color: black;
- text-align: center;
- font-size: 75%;
- }
- .image-container {
- display: flex;
- gap: 10px;
- padding: 20px;
- }
- .article-section {
- width: 80%;
- margin: 20px auto;
- background-color: #fff;
- padding: 20px;
- box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
- }
- .article-header {
- display: flex;
- justify-content: space-between;
- align-items: center;
- margin-bottom: 20px;
- }
- .article-title {
- font-size: 44px;
- color: #333;
- }
- .article-info {
- color: #667;
- }
- .article-content {
- margin-bottom: 20px;
- }
- .article-image {
- height: auto;
- width: auto;
- margin-bottom: 10px;
-
- }
- .social-media {
- display: flex;
- justify-content: center;
- margin-bottom: 10px;
- }
- .social-media a {
- margin: 0 5px;
- color: #333;
- text-decoration: none;
- }
- .social-media i {
- font-size: 18px;
- }
- .related-articles {
- list-style-type: none;
- padding: 0;
- }
- .related-articles li {
- margin-bottom: 5px;
- }
- .related-articles a {
- color: #333;
- text-decoration: none;
- }
- @media (max-width: 768px) {
- .article-section {
- width: 90%;
- }
- }
- .image-container img {
- max-width: 2000px;
- height: auto;
- border-radius: 5px;
- align-items: center;
- }
- @media (max-width: 768px) {
- .biography {
- flex-direction: column;
- text-align: center;
- }
- .biography img {
- float: none;
- width: 100%;
- }
- .biography text {
- margin-left: 0;
- padding-top: 20px;
- }
- .header {
- flex-direction: column;
- align-items: center;
- margin: 0px -20px;
- }
- .container {
- display: flex;
- flex-wrap: wrap;
- justify-content: center;
- padding: 20px;
- }
- .food-item {
- display: flex;
- flex-direction: column;
- width: 400px;
- margin: 20px;
- background-color: #fff;
- border-radius: 8px;
- box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
- }
- .image {
- flex: 1;
- overflow: hidden;
- }
- .image img {
- min-width: 300px;
- max-width: 400px;
- height: auto;
- border-radius: 10px;
- }
- .description {
- flex: 1;
- padding: 20px;
- text-align: left;
- }
- .header h1 {
- position: relative;
- top: 0;
- left: 0;
- }
- .header h2 {
- font-size: 120%;
- }
- .header a {
- margin: 10px 0;
- }
- .biography {
- padding: 10px;
- }
- .image-container {
- padding: 10px;
- }
- img {
- max-width: 100%;
- margin: auto;
- transition: transform 0.3s ease;
- }
- }
- @media (min-width: 769px) {
- .biography {
- flex-direction: row;
- text-align: left;
- }
- .biography img {
- float: left;
- width: 40%;
- margin-right: 20px;
- }
- .biography text {
- margin-left: 20px;
- }
- .header {
- flex-direction: row;
- align-items: center;
- margin: 0px -20px;
- }
- .header h1 {
- position: relative;
- top: 0;
- left: 0;
- }
- .header h2 {
- font-size: 100%;
- }
- .header a {
- margin: 0 10px;
- }
- .biography {
- padding: 20px;
- }
- .image-container {
- padding: 20px;
- }
- img {
- max-width: 100%;
- margin: auto;
- transition: transform 0.3s ease;
- }
- }
- h1 {
- text-align: center;
- font-size: 100%;
- color: #333;
- }
- form {
- max-width: 400px;
- margin: auto;
- }
- label {
- display: block;
- margin-top: 10px;
- }
- input, textarea {
- width: 100%;
- padding: 8px;
- margin-top: 5px;
- box-sizing: border-box;
- }
- button {
- padding: 20px 40px;
- font-size: 120%;
- color: white;
- background-color: #065c65;
- border: none;
- cursor: pointer;
- text-align: center;
- text-decoration: none;
- border-radius: 5px; /* Rounded corners */
- transition: background-color 0.3s ease;
- z-index: 1;
- }
- form button {
- padding: 20px 40px;
- font-size: 18px;
- color: white;
- background-color: #065c65;
- border: none;
- cursor: pointer;
- text-align: center;
- text-decoration: none;
- border-radius: 5px; /* Rounded corners */
- transition: background-color 0.3s ease;
- z-index: 1;
- }
- form button:hover {
- background-color: #054a51;
- }
- button:hover {
- background-color: #054a51;
- }
- /* Center the button horizontally */
- .centered-button {
- display: inline-block;
- margin-top: -5px;
- }
- /* Add some padding to the body for better spacing */
- body {
- padding: 0 20px;
- }
|