gallium-workshop/public/index.css

196 lines
2.9 KiB
CSS
Raw Normal View History

2023-08-30 19:53:05 -07:00
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,700&family=Phudu:wght@300&display=swap');
2023-09-02 20:50:42 -07:00
* {
box-sizing: border-box;
}
2023-08-30 19:53:05 -07:00
body {
padding-top: 50px;
2023-09-02 20:53:38 -07:00
width: 100vw;
2023-08-30 19:53:05 -07:00
min-height: 100vh;
background: linear-gradient(180deg, #00152b 0%, #4d89ea 50%, #55cc55 100%);
}
#logo {
float: left;
width: 150px;
margin-right: 50px;
}
h1 {
color: white;
font-family: 'DM Sans', sans-serif;
letter-spacing: 0.1em;
}
p {
color: white;
font-family: 'Phudu', cursive;
letter-spacing: 0.1em;
}
a {
color: #f0e69c;
font-weight: bold;
}
a:hover {
background-color: #f0e69c;
color: black;
padding: 5px;
text-decoration: none;
}
2023-09-02 20:50:42 -07:00
2023-10-10 19:53:14 -07:00
video {
display: block;
border-radius: 10px;
width: 80%;
margin: auto;
margin-top: 40px;
}
2023-09-02 20:50:42 -07:00
#code {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
pointer-events: none;
}
h2 {
color: white;
font-family: 'DM Sans', sans-serif;
font-size: 42px;
margin-top: 50px;
}
h3 {
color: white;
font-family: 'Phudu', cursive;
font-size: 32px;
}
img {
width: 75px;
float: left;
margin-right: 15px;
}
.project {
padding: 15px;
background-color: rgba(255,255,255,0.2);
backdrop-filter: blur(5px);
margin-bottom: 20px;
border-radius: 10px;
}
.project:hover {
background-color: rgba(255,255,255,0.4);
cursor: pointer;
}
.project p {
margin-top: 10px;
}
footer {
padding: 20px;
padding-top: 30px;
}
#footer-header {
color: white;
font-family: 'DM Sans', sans-serif;
font-size: 24px;
margin-top: 10px;
margin-bottom: 0px;
}
footer p {
margin-top: 0px;
}
.member {
display: inline-block;
width: calc(50% - 50px);
padding: 15px;
}
.member:hover {
backdrop-filter: blur(5px);
background-color: rgba(255,255,255,0.42);
border-radius: 5px;
cursor: pointer;
border: 4px solid #00ccff;
}
.member img {
width: 85px;
height: 85px;
border-radius: 42.5px;
object-fit: cover;
}
.member h3 {
margin-top: 0px;
color: white;
font-size: 24px;
height: 85px;
line-height: 85px;
}
2023-09-02 21:08:59 -07:00
@media (max-aspect-ratio: 3/2) {
#logo {
float: none;
}
.member {
width: 100%;
}
}
2023-10-10 22:17:03 -07:00
2023-10-10 22:57:45 -07:00
/* Smartphones (portrait) and small screens ----------- */
@media only screen
and (max-width : 1000px) {
/* Styles */
.bg-text {
font: bold 30vw Georgia, serif;
color: #100b0b;
2023-10-10 22:57:45 -07:00
opacity: 0.25;
/* background: yellow; */
position: absolute;
right: 0;
word-break: break-word;
user-select: none;
z-index: 1;
pointer-events: none;
2023-10-10 22:57:45 -07:00
margin-top: 10vh
}
}
2023-10-10 22:57:45 -07:00
/* all other screens */
@media only screen and not (max-width : 1000px) {
/* Styles */
.bg-text {
font: bold 14vw Georgia, serif;
color: #100b0b;
opacity: 0.1;
position: absolute;
right: 0;
user-select: none;
pointer-events: none;
z-index: 1;
}
}
/* .bg-text {
font: bold 14vw Georgia, serif;
2023-10-10 22:17:03 -07:00
color: #100b0b;
opacity: 0.1;
position: absolute;
right: 0;
user-select: none;
2023-10-10 22:25:32 -07:00
pointer-events: none;
} */