updated
Signed-off-by: Jochen Mehlich <coding@jochenmehlich.de>
This commit is contained in:
parent
c3c395e231
commit
8cf470912e
93
ninas-umfrage/css/style-plan.css
Normal file
93
ninas-umfrage/css/style-plan.css
Normal file
@ -0,0 +1,93 @@
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
position: relative;
|
||||
box-sizing: border-box;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: "Myriad Pro", "Lucida Grande", "Trebuchet MS", sans-serif;
|
||||
color: #202020;
|
||||
padding: 2rem;
|
||||
background:
|
||||
url(../images/square_bg.png) repeat top left,
|
||||
url(../images/logo_transparent.png) no-repeat calc(100vw - 200px) 30px;
|
||||
background-size: auto, 150px 150px;
|
||||
}
|
||||
|
||||
header, main, footer {
|
||||
box-sizing: border-box;
|
||||
margin: 0 auto;
|
||||
width: 750px;
|
||||
max-width: calc(100vw-2rem);
|
||||
}
|
||||
|
||||
main {
|
||||
margin-top: 2rem;
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
|
||||
h1,
|
||||
h2 {
|
||||
padding-bottom: .5rem;
|
||||
}
|
||||
|
||||
h2 {
|
||||
margin-top: 2rem;
|
||||
}
|
||||
|
||||
a:link,
|
||||
a:visited,
|
||||
a:active,
|
||||
a:hover {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a:link,
|
||||
a:visited,
|
||||
a:active,
|
||||
a:hover {
|
||||
color: rgb(41, 125, 207);
|
||||
transition: color .2s;
|
||||
}
|
||||
|
||||
table {
|
||||
cellpadding: .5rem;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
table tr:not(:last-of-type) {
|
||||
border-bottom: 1px solid gray;
|
||||
}
|
||||
|
||||
table th {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
table td.first-row {
|
||||
width: 180px;
|
||||
}
|
||||
|
||||
table th, table td {
|
||||
vertical-align: top;
|
||||
padding: .5rem .2rem;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 1100px) {
|
||||
body {
|
||||
background: url(../images/square_bg.png) repeat top left;
|
||||
}
|
||||
|
||||
main, header, footer {
|
||||
margin-left: 0;
|
||||
margin-right: 0;
|
||||
max-width: calc(100vw - 4rem);
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 530px) {
|
||||
body {
|
||||
padding: 1rem;
|
||||
}
|
||||
}
|
||||
120
ninas-umfrage/css/style.css
Normal file
120
ninas-umfrage/css/style.css
Normal file
@ -0,0 +1,120 @@
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
position: relative;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
display: grid;
|
||||
grid-template-rows: auto 1fr auto;
|
||||
height: 100vh;
|
||||
padding: 2rem;
|
||||
font-family:"Myriad Pro", "Lucida Grande", "Trebuchet MS", sans-serif;
|
||||
color: #202020;
|
||||
background:
|
||||
url(../images/square_bg.png) repeat top left,
|
||||
url(../images/logo_transparent.png) no-repeat calc(100vw - 200px) 30px;
|
||||
background-size: auto, 150px 150px;
|
||||
}
|
||||
|
||||
h1, h2 {
|
||||
padding-bottom: .5rem;
|
||||
}
|
||||
|
||||
main ul {
|
||||
display: grid;
|
||||
margin: 2rem 0;
|
||||
height: calc(100% - 4rem);
|
||||
grid-template-rows: repeat(4, 1fr);
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
grid-gap: 4px;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
main ul li a {
|
||||
--baseHue: 213;
|
||||
--altHue: 199;
|
||||
|
||||
--hue: var(--baseHue);
|
||||
--sat: 100%;
|
||||
--lum: 67%;
|
||||
--alpha: .4;
|
||||
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
padding: 1.5rem;
|
||||
background-color: hsla(var(--hue), var(--sat), var(--lum), var(--alpha));
|
||||
transition: background-color .2s ease-in-out;
|
||||
}
|
||||
|
||||
main ul li:nth-of-type(2n) a {
|
||||
--hue: var(--altHue);
|
||||
}
|
||||
|
||||
main ul li a:hover {
|
||||
--alpha: .2;
|
||||
}
|
||||
|
||||
main a:link,
|
||||
main a:visited,
|
||||
main a:active,
|
||||
main a:hover {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a:link,
|
||||
a:visited,
|
||||
a:active,
|
||||
a:hover {
|
||||
color: rgb(15, 15, 15);
|
||||
transition: color .2s;
|
||||
}
|
||||
|
||||
.without-english-version {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 850px) {
|
||||
body {
|
||||
background: url(../images/square_bg.png) repeat top left;
|
||||
}
|
||||
|
||||
main ul {
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
}
|
||||
|
||||
main ul li:nth-of-type(2n) a {
|
||||
--hue: var(--baseHue)
|
||||
}
|
||||
|
||||
main ul li:nth-of-type(4n + 1) a,
|
||||
main ul li:nth-of-type(4n + 4) a {
|
||||
--hue: var(--altHue)
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 530px) {
|
||||
body {
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
main ul {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
main ul li:nth-of-type(4n + 1) a,
|
||||
main ul li:nth-of-type(4n + 4) a {
|
||||
--hue: var(--baseHue)
|
||||
}
|
||||
|
||||
main ul li:nth-of-type(2n) a {
|
||||
--hue: var(--altHue)
|
||||
}
|
||||
|
||||
main ul li a {
|
||||
padding: 1rem;
|
||||
}
|
||||
}
|
||||
51
ninas-umfrage/index.html
Normal file
51
ninas-umfrage/index.html
Normal file
@ -0,0 +1,51 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="de">
|
||||
<head>
|
||||
<title>WIAI-Fachschaftssitzung – Jetzt teilnehmen!</title>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel="shortcut icon" href="../favicon.ico" type="image/x-icon"/>
|
||||
|
||||
<!-- Open Graph (Facebook) -->
|
||||
<meta property="og:title" content="WIAI-Fachschaftssitzung – Jetzt teilnehmen!"/>
|
||||
<meta property="og:description" content="Wir besprechen wöchentlich die aktuellen Entwicklungen an der Fakultät. Sei auch du dabei!"/>
|
||||
<meta property="og:url" content="http://wiai.de/sitzung"/>
|
||||
<meta property="og:image" content="twitter-card.png"/>
|
||||
<meta property="og:image:width" content="1200"/>
|
||||
<meta property="og:image:height" content="630"/>
|
||||
|
||||
<!-- Twitter Cards -->
|
||||
<meta name="twitter:title" content="WIAI-Fachschaftssitzung – Jetzt teilnehmen!">
|
||||
<meta name="twitter:description" content="Wir besprechen wöchentlich die aktuellen Entwicklungen an der Fakultät. Sei auch du dabei!">
|
||||
<meta name="twitter:image" content="twitter-card.png">
|
||||
<meta name="twitter:site" contents="@FachschaftWIAI"
|
||||
<meta name="twitter:card" content="summary_large_image">
|
||||
</head>
|
||||
<style>
|
||||
body {
|
||||
height: 100vh;
|
||||
width: 100vw;
|
||||
overflow: hidden;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-family: "Myriad Pro", "Lucida Grande", "Trebuchet MS", sans-serif;
|
||||
background: url(./images/square_bg.png) repeat top left;
|
||||
}
|
||||
|
||||
p {
|
||||
margin-top: 2rem;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<script>
|
||||
let redirectLocation = `https://meet.wiai.de/FSWIAISitzung`;
|
||||
window.location.replace(redirectLocation);
|
||||
</script>
|
||||
<img src="https://files.stuve-bamberg.de/logo_transparent.png" width="200px"/>
|
||||
<noscript><p>Diese Seite funktioniert ggf. nur mit JavaScript.</p></noscript>
|
||||
<!--p>Sie werden in Kürze weitergeleitet.</p-->
|
||||
<p>There ain't no nothing here.</p>
|
||||
</body>
|
||||
</html>
|
||||
BIN
ninas-umfrage/twitter-card.png
Normal file
BIN
ninas-umfrage/twitter-card.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 486 KiB |
Loading…
x
Reference in New Issue
Block a user