gallium-workshop/public/index.css

197 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
2023-10-10 23:19:11 -07:00
and (max-width : 600px) {
/* Styles */
.bg-text {
2023-10-10 23:19:11 -07:00
font-size: 30vw;
2023-10-10 22:57:45 -07:00
opacity: 0.25;
word-break: break-word;
2023-10-10 23:19:11 -07:00
margin-top: 22vh;
}
}
2023-10-10 23:19:11 -07:00
@media only screen
and (max-width : 1200px) {
/* Styles */
.bg-text {
2023-10-10 23:19:11 -07:00
font-size: 20vw;
opacity: 0.25;
word-break: break-word;
margin-top: 15vh;
/* margin-top: 10vh */
}
}
2023-10-10 23:19:11 -07:00
/* all other screens */
@media only screen and not (max-width : 1200px) {
/* Styles */
.bg-text {
font-size: 12vw;
opacity: 0.15;
}
}
2023-10-10 23:19:11 -07:00
.bg-text {
font-weight: bold;
font-family: Georgia, serif;
/* font: bold Georgia, serif; */
2023-10-10 22:17:03 -07:00
color: #100b0b;
position: absolute;
right: 0;
2023-10-10 23:19:11 -07:00
top: 0;
2023-10-10 22:17:03 -07:00
user-select: none;
2023-10-10 22:25:32 -07:00
pointer-events: none;
2023-10-10 23:19:11 -07:00
z-index: 1;
}