File size: 2,390 Bytes
a67ae61
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
/* @import url(http://fonts.googleapis.com/css?family=Kalam); */

.gls {
	/* An inline element does not start on a new line and only takes up as much width as necessary to display its content. */
	display: inline;

	/* stack order with z and is only possible for some postions: relative, fixed or sticky.  */
	position: relative;

	/* appear above other elements with a lover z stack value */
	z-index: 999;

	/* depends on dark and light theme */
	/* color: rgb(255, 253, 250);  */

	/* remove the underline */
	text-decoration: none;
}

/* the board which pops up - hover */
.gls_Content {
	position: absolute;

	/* define background image  */
	background: url(../../Data/5_Icons/blackboard.svg) no-repeat center bottom;
	background-size: 100% 100%;

	/* stack order */
	z-index: 9999;

	/* text width and also placement of the board */
	width: 280px;
	height: 200px;

	bottom: 50%;
	left: 50%;
	margin-left: -100px;
	padding: 50px 30px;
	text-align: center;

	/* text color, does NOT depend on the theme */
	/* var defined in css_0.css */
	color: var(--shiny_White);

	opacity: 0;
	cursor: pointer;

	/* font-size: 0.55em; */
	/* line-height: 1.4; */
	/* font-family: 'Kalam', cursive; */

	pointer-events: none;


	-webkit-transform: scale3d(0.1,0.2,1);
	transform: scale3d(0.1,0.2,1);
	-webkit-transform-origin: 50% 120%;
	transform-origin: 50% 120%;

	-webkit-transition: opacity 0.4s, -webkit-transform 0.3s;
	transition: opacity 0.4s, transform 0.3s;

	-webkit-transition-timing-function: ease, cubic-bezier(0.6,0,0.4,1);
	transition-timing-function: ease, cubic-bezier(0.6,0,0.4,1);
}

/* propperties when the hover is active */
.gls:hover .gls_Content {
	opacity: 1;
	pointer-events: auto;
	-webkit-transform: scale3d(1,1,1);
	transform: scale3d(1,1,1);

	/* size of the writing */
	font-size: 14px;

	/* padding of the font */
	padding-top: 70px;

	/* width of the font inside the board */
	width: 180px;

	text-align: left;

}

/* the board which pops up - hover */
/* pseudo element, .a:hover is psedo class */
/* this is the arrow point up to the board */
.gls_Content::after {

	/* pseduo elements require a content */
	content: '';
	position: absolute;
    top: 74%;
	left: 39%;
    width: 20%;
    height: 20%;
	z-index: 999;
	
    /* background-image: url(../../_static/imgs/shape2.svg) */
    background: url(../../Data/5_Icons/blackboard.svg) no-repeat center bottom;

}