Spaces:
Sleeping
Sleeping
File size: 2,389 Bytes
a1c6194 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 |
/* main.css */
body {
font-family: "Libre Baskerville", serif;
font-weight: 400;
font-style: italic;
margin: 0;
padding: 0;
background: url('images/neurons.gif') no-repeat center center fixed;
background-size: cover;
background-attachment: fixed;
}
.container {
max-width: 600px;
margin: 10px auto;
background-color: rgba(0, 0, 0, 0.3); /* Add a semi-transparent white background on top of the GIF */
padding: 20px;
text-align: center;
border-radius: 8px;
box-shadow: 0 0 10px rgba(15, 166, 185, 0.897);
}
h1 {
color: #ffffff;
font-family: "Caprasimo", serif;
font-weight: 400;
font-style: normal;
}
.model-list {
display: flex;
flex-wrap: wrap;
justify-content: center;
}
.model {
width: 100%;
margin-bottom: 30px;
padding: 25px;
border: px solid #c71919;
border-radius: 5px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
backdrop-filter: blur(20px);
}
h2 {
color: #2bb1b6;
font-weight: bold;
font-family: "Bungee", sans-serif;
}
p {
color: #f3f3f3;
font-family: "Young Serif", serif;
}
a {
display: block;
margin-top: 10px;
padding: 8px;
background-color: #22b4ad;
color: #fff;
text-align: center;
text-decoration: none;
border-radius: 5px;
font-family: "Caprasimo", serif;
font-weight: 400;
font-style: normal;
transition: background-color 0.3s;
}
a:hover {
background-color: #009eb3;
letter-spacing: 3px;
}
a:active {
background-color: #009eb3;
letter-spacing: 2px;
box-shadow: #009eb3 0px 7px 29px 0px;
transform: translateY(10px);
}
a:focus {
outline: none;
}
/* Media Query for smaller screens */
@media only screen and (max-width: 600px) {
.model {
width: 100%;
}
h1{
font-size:25px;
}
.container {
max-width: 400px;
margin: 10px auto;
padding: 10px;
text-align: center;
}
h2{
font-size:20px
}
p{
font-size:13px
}
.container {
max-width: 100%;
margin: 5px auto;
padding: 20px;
text-align: center;
border-radius: 8px;
}
body {
background-size: cover; /* or 'contain' based on your preference */
}
}
|