mirror of
https://github.com/Nathanwoodburn/hnschat-web.git
synced 2025-12-06 08:42:59 +11:00
v2
This commit is contained in:
123
assets/css/dish.css
Executable file
123
assets/css/dish.css
Executable file
@@ -0,0 +1,123 @@
|
||||
.Scenary {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
padding: 20px;
|
||||
gap: 20px;
|
||||
}
|
||||
|
||||
/* Container of Screen and Dish */
|
||||
.Conference {
|
||||
display: flex;
|
||||
flex: 1;
|
||||
border-radius: 10px;
|
||||
gap: 20px;
|
||||
max-height: 100%;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
/* Container of Cameras */
|
||||
.Dish {
|
||||
overflow: scroll;
|
||||
display: flex;
|
||||
align-content: center;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
vertical-align: middle;
|
||||
flex: 1;
|
||||
border-radius: 10px;
|
||||
background: rgba(0, 0, 0, 0.3);
|
||||
|
||||
|
||||
}
|
||||
|
||||
/* Camera */
|
||||
.Dish>div {
|
||||
position: relative;
|
||||
vertical-align: middle;
|
||||
align-self: center;
|
||||
border-radius: 10px;
|
||||
overflow: hidden;
|
||||
display: inline-block;
|
||||
box-shadow: var(--shadow-dark);
|
||||
background: #fff;
|
||||
animation: show 0.4s ease;
|
||||
}
|
||||
|
||||
/* Video (check the nice property object-fit) */
|
||||
.Dish>div video {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
object-fit: cover;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: #000;
|
||||
border-radius: 10px;
|
||||
overflow: hidden;
|
||||
left: 0;
|
||||
top: 0;
|
||||
background-size: cover;
|
||||
overflow: hidden;
|
||||
-webkit-transition: margin-top 1s ease-in-out;
|
||||
-moz-transition: margin-top 1s ease-in-out;
|
||||
-o-transition: margin-top 1s ease-in-out;
|
||||
transition: margin-top 1s ease-in-out;
|
||||
}
|
||||
|
||||
/* Animation of Loading Video */
|
||||
.Dish>div video.loading {
|
||||
margin-top: 100%;
|
||||
}
|
||||
|
||||
/* Aspect Ratio Number */
|
||||
.Dish div:after {
|
||||
color: #aaa;
|
||||
font-size: 13px;
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
position: absolute;
|
||||
bottom: 20px;
|
||||
left: 23px;
|
||||
font-weight: 100;
|
||||
content: attr(data-aspect);
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* Gray Diagonal */
|
||||
.Dish div:before {
|
||||
position: absolute;
|
||||
height: 100%;
|
||||
background: url(./../general/diagonal.jpg);
|
||||
background-size: 100% 100%;
|
||||
width: 100%;
|
||||
opacity: 0.3;
|
||||
font-weight: 100;
|
||||
content: '';
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* Screen */
|
||||
.Screen {
|
||||
flex: 2;
|
||||
background: #000;
|
||||
opacity: 0.8;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
/* Animation of Cameras */
|
||||
@keyframes show {
|
||||
0% {
|
||||
opacity: 0;
|
||||
transform: scale(0.4) translateY(20px);
|
||||
}
|
||||
|
||||
100% {
|
||||
opacity: 1;
|
||||
transform: scale(1) translateY(0);
|
||||
}
|
||||
}
|
||||
123
assets/css/hljs-varo.css
Executable file
123
assets/css/hljs-varo.css
Executable file
@@ -0,0 +1,123 @@
|
||||
/*!
|
||||
Theme: Default
|
||||
Description: Original highlight.js style
|
||||
Author: (c) Ivan Sagalaev <maniac@softwaremaniacs.org>
|
||||
Maintainer: @highlightjs/core-team
|
||||
Website: https://highlightjs.org/
|
||||
License: see project LICENSE
|
||||
Touched: 2021
|
||||
*/
|
||||
|
||||
/*
|
||||
This is left on purpose making default.css the single file that can be lifted
|
||||
as-is from the repository directly without the need for a build step
|
||||
|
||||
Typically this "required" baseline CSS is added by `makestuff.js` during build.
|
||||
*/
|
||||
pre code.hljs {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* end baseline CSS */
|
||||
|
||||
/* Base color: saturation 0; */
|
||||
|
||||
.hljs-subst {
|
||||
/* default */
|
||||
}
|
||||
|
||||
/* purposely ignored */
|
||||
.hljs-formula,
|
||||
.hljs-attr,
|
||||
.hljs-property,
|
||||
.hljs-params {}
|
||||
|
||||
.hljs-comment {
|
||||
color: #7a7a7a;
|
||||
}
|
||||
.hljs-tag,
|
||||
.hljs-punctuation {
|
||||
color: #7a7a7a;
|
||||
}
|
||||
|
||||
.hljs-tag .hljs-name,
|
||||
.hljs-tag .hljs-attr {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
|
||||
.hljs-keyword,
|
||||
.hljs-attribute,
|
||||
.hljs-selector-tag,
|
||||
.hljs-meta .hljs-keyword,
|
||||
|
||||
.hljs-doctag,
|
||||
.hljs-name {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
|
||||
/* User color: hue: 0 */
|
||||
|
||||
.hljs-type,
|
||||
.hljs-string,
|
||||
.hljs-number,
|
||||
.hljs-selector-id,
|
||||
.hljs-selector-class,
|
||||
.hljs-quote,
|
||||
.hljs-template-tag,
|
||||
.hljs-deletion {
|
||||
color: #409aed;
|
||||
}
|
||||
|
||||
.hljs-title,
|
||||
.hljs-section {
|
||||
color: #409aed;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.hljs-regexp,
|
||||
.hljs-symbol,
|
||||
.hljs-variable,
|
||||
.hljs-template-variable,
|
||||
.hljs-link,
|
||||
.hljs-selector-attr,
|
||||
.hljs-operator,
|
||||
.hljs-selector-pseudo {
|
||||
color: #40ed50;
|
||||
}
|
||||
|
||||
/* Language color: hue: 90; */
|
||||
|
||||
.hljs-literal {
|
||||
color: #db4437;
|
||||
}
|
||||
|
||||
.hljs-built_in,
|
||||
.hljs-bullet,
|
||||
.hljs-code,
|
||||
.hljs-addition {
|
||||
color: #397300;
|
||||
}
|
||||
|
||||
|
||||
/* Meta color: hue: 200 */
|
||||
|
||||
.hljs-meta {
|
||||
color: #7a7a7a;
|
||||
}
|
||||
|
||||
.hljs-meta .hljs-string {
|
||||
color: #38a;
|
||||
}
|
||||
|
||||
|
||||
/* Misc effects */
|
||||
|
||||
.hljs-emphasis {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.hljs-strong {
|
||||
font-weight: bold;
|
||||
}
|
||||
9
assets/css/hljs.css
Executable file
9
assets/css/hljs.css
Executable file
@@ -0,0 +1,9 @@
|
||||
/*!
|
||||
Theme: Default
|
||||
Description: Original highlight.js style
|
||||
Author: (c) Ivan Sagalaev <maniac@softwaremaniacs.org>
|
||||
Maintainer: @highlightjs/core-team
|
||||
Website: https://highlightjs.org/
|
||||
License: see project LICENSE
|
||||
Touched: 2021
|
||||
*/pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}.hljs{background:#f3f3f3;color:#444}.hljs-comment{color:#697070}.hljs-punctuation,.hljs-tag{color:#444a}.hljs-tag .hljs-attr,.hljs-tag .hljs-name{color:#444}.hljs-attribute,.hljs-doctag,.hljs-keyword,.hljs-meta .hljs-keyword,.hljs-name,.hljs-selector-tag{font-weight:700}.hljs-deletion,.hljs-number,.hljs-quote,.hljs-selector-class,.hljs-selector-id,.hljs-string,.hljs-template-tag,.hljs-type{color:#800}.hljs-section,.hljs-title{color:#800;font-weight:700}.hljs-link,.hljs-operator,.hljs-regexp,.hljs-selector-attr,.hljs-selector-pseudo,.hljs-symbol,.hljs-template-variable,.hljs-variable{color:#ab5656}.hljs-literal{color:#695}.hljs-addition,.hljs-built_in,.hljs-bullet,.hljs-code{color:#397300}.hljs-meta{color:#1f7199}.hljs-meta .hljs-string{color:#38a}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:700}
|
||||
3036
assets/css/style.css
Executable file
3036
assets/css/style.css
Executable file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user