2018-12-05 23:56:22 +02:00
|
|
|
/* globals */
|
2018-12-05 23:51:53 +02:00
|
|
|
* {
|
|
|
|
box-sizing: border-box;
|
|
|
|
margin: 0px;
|
|
|
|
border: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* fonts */
|
|
|
|
@font-face {
|
|
|
|
font-family: 'Fedra Arabic';
|
|
|
|
src: url('../assets/fonts/Fedra Arabic Reg_beta.ttf') format('truetype');
|
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: 'bebas';
|
|
|
|
src: url('../assets/fonts/BEBAS___.ttf') format('truetype');
|
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: 'majalla';
|
|
|
|
src: url('../assets/fonts/majalla 2.ttf') format('truetype');
|
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: 'MyriadPro Regular';
|
|
|
|
src: url('../assets/fonts/MyriadPro-Regular.otf') format('otf');
|
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: 'interstate';
|
|
|
|
src: url('../assets/fonts/Interstate-Regular.bmap') format('bmap'),
|
|
|
|
url('../assets/fonts/Interstate-Bold.bmap') format('bmap');
|
|
|
|
}
|
2018-12-07 20:21:25 +02:00
|
|
|
.text-left{
|
|
|
|
text-align: left;
|
|
|
|
}
|
2018-12-05 23:56:22 +02:00
|
|
|
.arabic-text {
|
|
|
|
font-family: "Fedra Arabic", serif;
|
|
|
|
}
|
|
|
|
|
|
|
|
.english-text {
|
2018-12-06 23:10:30 +02:00
|
|
|
font-family: majalla, serif;
|
2018-12-05 23:56:22 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
/* variables */
|
|
|
|
:root {
|
|
|
|
--858-light-gray-color: #ebebeb;
|
|
|
|
}
|
|
|
|
|
2018-12-06 20:33:29 +02:00
|
|
|
/* App */
|
|
|
|
.App {
|
|
|
|
max-width: 960px;
|
|
|
|
margin: 0 auto;
|
|
|
|
}
|
|
|
|
|
2018-12-05 23:51:53 +02:00
|
|
|
/* header */
|
|
|
|
header {
|
|
|
|
padding-top: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.site-logo {
|
2018-12-05 01:05:19 +02:00
|
|
|
max-width: 300px;
|
2018-12-05 23:51:53 +02:00
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2018-12-07 14:01:26 +02:00
|
|
|
.counter-container {
|
2018-12-05 23:51:53 +02:00
|
|
|
position: absolute;
|
2018-12-07 14:01:26 +02:00
|
|
|
display: inline-block;
|
2018-12-05 23:51:53 +02:00
|
|
|
right: 0;
|
|
|
|
top: 0;
|
|
|
|
padding: 2em;
|
2018-12-05 01:05:19 +02:00
|
|
|
}
|
2018-12-07 14:01:26 +02:00
|
|
|
.counter{
|
|
|
|
position: relative;
|
|
|
|
right: 0;
|
|
|
|
}
|
2018-12-06 00:02:33 +02:00
|
|
|
/* search */
|
2018-12-06 00:34:48 +02:00
|
|
|
.search-button {
|
|
|
|
background: white;
|
2018-12-06 20:33:29 +02:00
|
|
|
bottom: -18px;
|
|
|
|
position: relative;
|
2018-12-06 00:34:48 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.search-button img {
|
|
|
|
max-width: 50px;
|
|
|
|
}
|
2018-12-06 00:02:33 +02:00
|
|
|
|
2018-12-06 00:34:48 +02:00
|
|
|
.search-box {
|
|
|
|
padding: 1em;
|
2018-12-06 20:33:29 +02:00
|
|
|
width: 50%;
|
2018-12-06 00:34:48 +02:00
|
|
|
background: var(--858-light-gray-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
.search-box::placeholder {
|
|
|
|
color: black;
|
2018-12-06 20:33:29 +02:00
|
|
|
text-align: center;
|
|
|
|
font-size: 1.5em;
|
|
|
|
color: gray;
|
|
|
|
}
|
2018-12-06 23:24:39 +02:00
|
|
|
|
|
|
|
@media screen and (max-width: 700px) {
|
2018-12-06 20:33:29 +02:00
|
|
|
.search-box::placeholder {
|
|
|
|
font-size: 1em;
|
|
|
|
}
|
2018-12-06 00:34:48 +02:00
|
|
|
}
|
2018-12-06 23:24:39 +02:00
|
|
|
|
|
|
|
@media screen and (max-width: 400px) {
|
2018-12-06 20:33:29 +02:00
|
|
|
.search-box::placeholder {
|
|
|
|
font-size: .75em;
|
|
|
|
}
|
|
|
|
}
|
2018-12-06 23:24:39 +02:00
|
|
|
|
2018-12-06 20:33:29 +02:00
|
|
|
/* Video item*/
|
|
|
|
.video-thumbnail {
|
2018-12-06 00:34:48 +02:00
|
|
|
max-width: 300px;
|
2018-12-06 20:33:29 +02:00
|
|
|
transition: all .4s ease-in-out;
|
|
|
|
}
|
|
|
|
|
|
|
|
.video-thumbnail:hover {
|
|
|
|
transform: scale(1.1);
|
|
|
|
}
|
|
|
|
|
|
|
|
.video-thumbnail-container {
|
|
|
|
position: relative;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* section heading*/
|
|
|
|
.section-title {
|
|
|
|
border-bottom: 2px dotted black;
|
|
|
|
padding: 1em;
|
|
|
|
margin-bottom: 1em;
|
|
|
|
position: relative;
|
|
|
|
}
|
2018-12-06 23:24:39 +02:00
|
|
|
|
2018-12-06 23:10:30 +02:00
|
|
|
/* footer */
|
2018-12-06 23:24:39 +02:00
|
|
|
footer {
|
2018-12-06 23:10:30 +02:00
|
|
|
background: var(--858-light-gray-color);
|
|
|
|
position: absolute;
|
|
|
|
width: 100%;
|
|
|
|
left: 0;
|
|
|
|
margin-top: 1em;
|
|
|
|
padding: 1em;
|
|
|
|
font-weight: bold;
|
2018-12-06 23:24:39 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
/* nav */
|
|
|
|
nav {
|
|
|
|
margin: 3em;
|
|
|
|
}
|
|
|
|
|
|
|
|
nav ul li {
|
|
|
|
display: inline-block;
|
|
|
|
list-style-type: none;
|
|
|
|
padding: 1em;
|
|
|
|
border-right: 1px solid black;
|
|
|
|
}
|
|
|
|
|
|
|
|
nav ul li:last-child {
|
|
|
|
border-right: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
nav ul li a {
|
|
|
|
text-decoration: none;
|
|
|
|
color: black;
|
|
|
|
}
|