Newer
Older
* {
box-sizing: border-box;
color: $dark_1;
line-height: 1.3em;
}
ul {
margin: 0;
padding: 0;
list-style-type: none;
}
emoji {
font-style: initial;
font-size: 25px;
}
.bg-blue {
background-color: $blue_2;
color: white;
}
.bg-dark {
background-color: $dark_2;
color: $light_2;
}
img.pixelated {
image-rendering: pixelated;
image-rendering: -moz-crisp-edges;
image-rendering: crisp-edges;
}
display: flex;
flex-direction: column;
align-items: center;
min-height: 100vh;
.thumb-placeholder {
background-color: $light_0;
}
.warning-banner {
background: url("/assets/images/wallpaper_warning.svg");
width: 100%;
height: 40px;
padding: 20px 10%;
@include flex-center;
strong {
font-size: 18px;
color: $blue_1;
}
}
.image-carousel {
overflow: hidden;
@include flex-center;
background-color: black;
position: relative;
.carousel-bullets {
position: absolute;
bottom: 0;
padding: 20px;
display: flex;
background-color: $medium_grey;
border-radius: 100%;
box-shadow: 0 0 3px black;
&.active {
background-color: $light_0;
}
}
}
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
.toggle-fullscreen-button {
position: absolute;
right: 15px;
top: 15px;
color: $light_1;
font-weight: bold;
background: none;
border: none;
cursor: pointer;
transition: transform 0.1s;
&.to-full {
font-size: 20px;
@media screen and (max-width:1000px) {
display: none;
}
}
&.to-small {
font-size: 30px;
}
&:hover {
color: white;
&.to-small {
transform: scale(0.7);
}
&.to-full {
transform: scale(1.5);
}
}
}
&.fullscreen {
position: fixed;
z-index: 20;
top: 0;
right: 0;
left: 0;
height: 100vh !important;
}
@media screen and (max-width: $screen_l) {
.carousel-bullets {
gap: 30px;
.bullet {
width: 12px;
height: 12px;
}
}
}
}
header {
width: 100%;
background-color: white;
position: sticky;
position: -webkit-sticky;
top: 0;
z-index: 10;
nav {
display: flex;
align-items: center;
height: $navbar_height;
a {
display: flex;
align-items: center;
gap: 10px;
img.logo-text {
width: 120px;
height: auto;
}
}
}
ul {
display: flex;
padding: 0;
margin: 0;
list-style-type: none;
height: 100%;
a {
display: flex;
align-items: center;
height: 100%;
padding: 10px 20px;
color: $light_1;
font-weight: 800;
text-decoration: none;
}
.submenu {
visibility: hidden;
overflow: hidden;
position: absolute;
height: auto;
max-height: 0;
transition: max-height 0.6s;
top: 100%;
left: 50%;
flex-direction: column;
background-color: white;
white-space: nowrap;
}
&.active {
a {
color: $dark_2;
border-bottom: 3px solid;
}
}
.submenu {
visibility: unset;
max-height: 1000px;
li {
&:hover {
a {
color: $dark_2;
}
}
}
}
}
&.lang-flags {
display: flex;
align-items: center;
gap: 10px;
margin-left: auto;
padding: 0 20px;
img {
width: 35px;
height: 30px;
cursor: pointer;
opacity: 0.5;
&.selected,
&:hover {
opacity: 1;
}
}
}
@media screen and (max-width: $screen_s) {
justify-content: space-between;
.burger {
@include flex-center-col;
font-weight: bold;
border: 1px solid;
margin: 0 20px;
cursor: pointer;
border-radius: 100%;
width: 35px;
height: 35px;
color: $dark_3;
font-size: 25px;
}
&.responsive-show {
display: flex;
flex-direction: column;
position: absolute;
right: 0;
max-width: 100vw;
min-width: 50vw;
top: $navbar_height;
background-color: white;
box-shadow: 0 4px 6px 2px #0000000a;
height: unset;
li {
&.active {
a {
border: none;
}
}
.submenu {
display: flex;
visibility: visible;
position: relative;
height: unset;
max-height: unset;
transition: max-height 0.6s;
top: unset;
left: unset;
li {
a {
font-weight: 400;
font-size: 14px;
color: $light_1;
}
}
&.lang-flags {
margin-left: unset;
justify-content: space-around;
padding: 20px;
}
h1 {
padding: 15px 40px 0;
font-size: 25px;
color: $blue_2;
margin: 0 auto;
}
font-style: italic;
padding: 15px 40px 15px 100px;
margin: 0 auto;
font-size: 18px;
}
.big-logo {
@include flex-center;
gap: 20px;
padding: 20px;
&.logo-text {
width: 300px;
max-width: 100%;
}
}
}
.logo {
padding-left: 30px;
@include flex-center;
@media screen and (max-width: $screen_s) {
h1 {
padding: 15px 20px 0;
}
p {
padding: 20px 20px 30px 40px;
text-align: justify;
}
&.logo-left {
.grid-wrapper {
h1 {
width: 100%;
}
display: grid;
grid-template-columns: 120px 1fr;
grid-template-rows: auto 1fr;
.logo {
grid-column: 1;
grid-row: 1;
width: 100%;
}
p {
margin: 0;
grid-column: 1 / span 2;
}
}
@media screen and (max-width: $screen_m) {
.grid-wrapper {
h1 {
padding: 0 20px;
}
.logo {
padding: 0 20px;
}
}
}
}
}
p {
width: 100%;
max-width: 600px;
font-size: 18px;
color: $light_2;
text-align: center;
font-style: italic;
font-weight: bold;
}
}
.page-contents-center {
@include page-contents-center;
}
h2.page-section-title {
color: $blue_2;
padding: 20px 0 10px;
@include page-contents-center;
}
@import "./homepage.scss";
@import "./pages/education/education.scss";
@import "./pages/games/games.scss";
@import "./pages/software-development/software-development.scss";
footer {
@include flex-center-col;
width: 100%;
padding: 40px 20px;
gap: 20px;
font-size: 12px;
span {
color: $light_1;
text-align: center;
}
a {
background-color: $dark_3;
@include flex-center;
width: 25px;
height: 25px;
font-weight: bold;
font-size: 16px;
border-radius: 100%;
}
}
}