Friendiiverse/App/Style.css

86 lines
1.0 KiB
CSS
Raw Permalink Normal View History

2023-04-22 17:09:59 +02:00
:root {
--BarHeight: 3em;
2023-04-26 15:33:51 +02:00
--WindowMargin: 1em;
2023-04-22 17:09:59 +02:00
}
* {
box-sizing: border-box;
}
body {
margin: 0;
padding: 0;
overflow-y: hidden;
2023-04-25 00:55:20 +02:00
color: black;
background-color: white;
2023-04-22 17:09:59 +02:00
}
2023-04-19 00:16:35 +02:00
img, video {
max-width: 100%;
}
2023-04-23 00:48:14 +02:00
#Bottom > button {
height: 100%;
}
2023-04-20 22:08:38 +02:00
#Root {
2023-04-22 10:06:31 +02:00
/*margin-bottom: 2em;*/
2023-04-19 12:18:14 +02:00
}
2023-04-20 22:08:38 +02:00
#Bottom {
2023-04-19 12:18:14 +02:00
display: block;
width: 100%;
2023-04-22 17:09:59 +02:00
height: var(--BarHeight);
2023-04-19 12:18:14 +02:00
position: fixed;
bottom: 0;
left: 0;
2023-04-22 17:09:59 +02:00
2023-04-25 00:55:20 +02:00
background-color: white;
2023-04-19 12:18:14 +02:00
border: 2px solid black;
}
2023-04-19 00:16:35 +02:00
#DataView {
white-space: break-spaces;
}
2023-04-22 10:06:31 +02:00
.Window {
background: white;
position: absolute;
2023-04-22 17:09:59 +02:00
2023-04-22 10:06:31 +02:00
width: 100%;
max-width: 100%;
min-width: 100%;
2023-04-22 17:09:59 +02:00
height: calc(100vh - var(--BarHeight));
2023-04-22 17:09:59 +02:00
overflow-y: auto;
2023-04-26 15:33:51 +02:00
padding: var(--WindowMargin);
/*padding-bottom: calc(var(--WindowMargin) + (var(--BarHeight) * 2));*/
2023-04-22 10:06:31 +02:00
}
2023-04-20 15:17:00 +02:00
.View.Note {
2023-04-19 00:16:35 +02:00
border: 4px solid purple;
margin: 12px;
}
2023-04-20 00:19:19 +02:00
2023-05-01 00:08:01 +02:00
.View.Profile {
display: inline-block;
}
.Profile.Banner {
width: 384px;
}
/*.View.Note*/ .Profile.Icon {
2023-04-20 00:19:19 +02:00
width: 64px;
}
2023-04-20 22:08:38 +02:00
.Window.Gallery > ul {
padding: 0;
}
.Window.Gallery > ul > li {
2023-04-20 22:08:38 +02:00
display: inline-block;
width: 384px;
2023-04-20 22:08:38 +02:00
}