Last change
on this file since 743de55 was 743de55, checked in by macagaso <gasoskamarija@…>, 6 weeks ago |
Initial commit
|
-
Property mode
set to
100644
|
File size:
1.6 KB
|
Rev | Line | |
---|
[743de55] | 1 | body{
|
---|
| 2 | margin: 0;
|
---|
| 3 | font-family: "Caveat", cursive;
|
---|
| 4 | font-optical-sizing: auto;
|
---|
| 5 | font-weight: normal;
|
---|
| 6 | }
|
---|
| 7 |
|
---|
| 8 | h1{
|
---|
| 9 | font-size: 60px;
|
---|
| 10 | font-weight: 500;
|
---|
| 11 | position: relative;
|
---|
| 12 | left: 140px;
|
---|
| 13 | margin:0;
|
---|
| 14 | }
|
---|
| 15 |
|
---|
| 16 | img{
|
---|
| 17 | height: 50px;
|
---|
| 18 | }
|
---|
| 19 | #frame{
|
---|
| 20 | position: absolute;
|
---|
| 21 | left: 680px;
|
---|
| 22 | top:70px;
|
---|
| 23 | width: 700px;
|
---|
| 24 | display: flex;
|
---|
| 25 | flex-direction: column;
|
---|
| 26 | justify-content: center;
|
---|
| 27 | align-items: center;
|
---|
| 28 | }
|
---|
| 29 | #second-image{
|
---|
| 30 | position: absolute;
|
---|
| 31 | left: 100px;
|
---|
| 32 | top: 50px;
|
---|
| 33 | height: 500px;
|
---|
| 34 | z-index: -1;
|
---|
| 35 |
|
---|
| 36 | }
|
---|
| 37 | #menu{
|
---|
| 38 | width: 600px;
|
---|
| 39 | height: 300px;
|
---|
| 40 | background-color: #f3f8ff;
|
---|
| 41 | padding: 30px;
|
---|
| 42 | display: grid;
|
---|
| 43 | grid-template-columns: repeat(2, 1fr); /* Create two equal columns */
|
---|
| 44 | gap: 20px; /* Space between grid items */
|
---|
| 45 | }
|
---|
| 46 | #menu a {
|
---|
| 47 | display: flex; /* Enable Flexbox for a */
|
---|
| 48 | flex-direction: column; /* Align icon and text vertically */
|
---|
| 49 | align-items: center; /* Center items horizontally */
|
---|
| 50 | justify-content: center;
|
---|
| 51 | text-decoration: none; /* Remove underline from links */
|
---|
| 52 | padding: 15px; /* Add padding inside each link */
|
---|
| 53 | border: 1px solid #ccc; /* Optional: border around each link */
|
---|
| 54 | border-radius: 5px;
|
---|
| 55 | font-size: 30px; ;
|
---|
| 56 | }
|
---|
| 57 | #menu a:hover {
|
---|
| 58 | background-color: white; /* Light blue background on hover */
|
---|
| 59 | transition: background-color 0.3s ease;
|
---|
| 60 | border: 1px solid black;
|
---|
| 61 | }
|
---|
| 62 |
|
---|
| 63 | #menu img {
|
---|
| 64 | max-width: 50px; /* Limit the width of images */
|
---|
| 65 | margin-bottom: 5px; /* Space between image and text */
|
---|
| 66 | } |
---|
Note:
See
TracBrowser
for help on using the repository browser.