aboutsummaryrefslogtreecommitdiff
path: root/bcst/themes/qhungg/style/style.css
blob: 5d4a7d3de761a092c127c26f8bde46639682de62 (plain)
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
105
106
107
108
109

@font-face {
    font-family: "Roboto Mono";
    src: url("../fonts/roboto-mono-medium.ttf");
}

/*Change font and colors*/
:root {
	--font: "Roboto Mono";
	--bgcolor: #262626;
	--titlecolor: #BBD9E3;
	--linkcolor: #F1B6A3;
}

/*-----------------------------------------------------------*/

body {
	background-image: url('../background/background.png');
	background-color: gray;
}

div .hvr-grow {
	background-color: var(--bgcolor);
	border: solid 4px rgba(255, 255, 255, 0.8);
	border-radius: 3px;
	margin-top: 4%;
	margin-bottom: 4%;
	display: inline-block;
	margin-left: 2%;
	margin-right: 1%;
	width: 140px;
	text-align: center;
}

form {
	float: right;
	margin-top: 4%;
	margin-left: 2%;
	margin-right: 2%;
}

input {
	border: solid 4px rgba(255, 255, 255, 0.8);
	padding: 10px;
	width: 160px;
	background-color: var(--bgcolor);
	color: white;
	font-family: var(--font);
}

h1 {
	font-family: var(--font);
	font-style: italic;
	color: var(--titlecolor);
	font-size: 1rem;
	text-align: center;
}

ul {
	padding-inline-start: 0;
	list-style: none;
}

a {
	display: block;
	line-height: 2em;
	font-family: var(--font);
	color: var(--linkcolor);
	font-size: 1rem;
	text-decoration: none;
	outline: none;
}

a:hover {
	color: rgb(222, 222, 222);
}

/*Animation*/
.hvr-grow {
	display: inline-block;
	vertical-align: middle;
	-webkit-transform: perspective(1px) translateZ(0);
	transform: perspective(1px) translateZ(0);
	box-shadow: 0 0 1px rgba(0, 0, 0, 0);
	-webkit-transition-duration: 0.3s;
	transition-duration: 0.3s;
	-webkit-transition-property: transform;
	transition-property: transform;
}
.hvr-grow:hover, .hvr-grow:focus, .hvr-grow:active {
	-webkit-transform: scale(1.1);
	transform: scale(1.1);
}

.hvr-shrink {
	display: inline-block;
	vertical-align: middle;
	-webkit-transform: perspective(1px) translateZ(0);
	transform: perspective(1px) translateZ(0);
	box-shadow: 0 0 1px rgba(0, 0, 0, 0);
	-webkit-transition-duration: 0.3s;
	transition-duration: 0.3s;
	-webkit-transition-property: transform;
	transition-property: transform;
}
.hvr-shrink:hover, .hvr-shrink:focus, .hvr-shrink:active {
	-webkit-transform: scale(0.9);
	transform: scale(0.9);
}