apps/kirjs/src/app/modules/binary/binary.component.scss
h1 {
font-size: 5vw;
}
::ng-deep feedback-widget {
position: absolute;
right: 0;
bottom: 140px;
display: block;
width: 32px;
height: 32px;
z-index: 100;
.feedback-button {
width: 24px;
height: 24px;
}
}
#font-size b {
font-size: 10vw;
margin-bottom: 6vw;
display: block;
}
:host {
.binary-presentation ::ng-deep {
.slide [intro] {
background: url(pics/kirjs.webp);
background-size: 100vh !important;
padding-left: 3vw;
h2 {
font-size: 3vw;
}
h1,
h2,
h3 {
text-align: left;
margin-left: 100vh;
margin-bottom: 2vw;
}
h3 {
font-size: 3vw;
}
}
.slide [json] {
background: url(pics/p2.jpg);
}
.slide [krakoziabry] {
background: url(pics/krakoziabry.jpg);
background-size: cover;
}
.slide [endianness] {
background: url(pics/endianness.png);
background-size: 80vw !important;
}
.slide [pelmen] {
background: url(pics/pelmeni.jpg);
background-size: cover;
h1 {
font-size: 10vw;
text-shadow: 0 0 1vw #ffffff;
}
}
.slide [kaitai] {
background: url(pics/kaitai.png);
background-size: 400px 400px !important;
background-color: #fff;
h1 {
font-size: 3vw;
}
h2 {
text-align: center;
font-size: 2vw;
}
}
.slide [gif] {
background: url(pics/zoom.gif);
}
.slide #binary-abstraction {
background: url(pics/binary-abstraction.jpg);
}
.slide [message],
[gif] .slide {
background: url(pics/gdg-binary.jpg);
}
.slide [gif-bg],
[gif-bg] .slide {
background: url(pics/little.gif);
}
.slide [bg],
[bg] .slide {
background-repeat: no-repeat;
background-size: cover;
}
.slide [vs] {
display: flex;
align-items: center;
justify-content: center;
}
.slide h1 {
font-size: 5vw;
color: #444;
text-align: center;
}
h2 {
font-size: 4vw;
margin-bottom: 2vw;
}
[bg] h1 {
margin-top: 40px;
font-size: 10vw;
text-shadow: 0 3px 20px #fff, 0 -3px 20px #fff, -3px 0 20px #fff,
3px 0 20px #fff;
}
[bg] h2 {
font-size: 6vw;
text-shadow: 0 3px 20px #fff, 0 -3px 20px #fff, -3px 0 20px #fff,
3px 0 20px #fff;
}
td {
font-size: 2vw;
font-weight: 300;
padding: 1vw;
}
}
[bg] h1 b,
[bg] h2 b {
background: transparent;
font-weight: bold;
}
}
.compare-json {
width: 50%;
}
.compare-serialization {
padding: 0 20vw;
}
#gif-structure {
.text,
li {
font-size: 3vw;
}
h2 {
margin-bottom: 1vw;
}
.text {
margin-bottom: 2vw;
}
}
[binary-schema] {
table {
width: 100%;
}
td {
font-size: 4vw;
font-weight: 400;
}
}
#gif-structure {
.parent-palette {
background: #00ff51;
}
.parent-header {
background: #ffaf00;
}
.parent-extensions {
background: #00a4ff;
}
}
#bitwise-to-read .book {
background-image: url(./pics/hackers-delight.jpeg);
}