~singpolyma/cheogram-matrix-spa

ref: 537ed5aae27f65d4623d7602d56ee5b53e4a88ea cheogram-matrix-spa/index.scss -rw-r--r-- 1.8 KiB
537ed5aaStephen Paul Weber Tabs and styling 3 months ago
                                                                                
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
@font-face {
	font-family: 'Archivo Black';
	font-style: normal;
	font-weight: 400;
	src: url(ArchivoBlackLatin.woff2) format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: 'Poppins';
	font-style: normal;
	font-weight: 500;
	src: url(PoppinsLatin.woff2) format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

html {
	color: #fff;
	background: #7401cf url(gloop01.svg) no-repeat;
	background-size: 40vw;
	font-family: Poppins, sans-serif;
}

body {
	text-align: center;
	margin: 0;
	padding-left: 10%;
	padding-right: 10%;
	background: url(gloop02.svg) no-repeat right bottom;
	background-size: 60vw;
	min-height: 100vh;
}

body > h1 {
	margin: auto;
	margin-bottom: 2em;
	position: relative;
	top: 1em;
	background: url(logo.svg) center no-repeat;
	background-size: contain;
	width: 100%;
	height: 20vh;
	text-indent: -9999px;
}

.tabs {
	cursor: pointer;
	list-style-type: none;
	padding: 0;
	font-size: 1.3em;
	color: #1e0036;

	li {
		display: inline-block;
		background-color: #ffc700;
		border-top-left-radius: 1em;
		border-top-right-radius: 1em;
		padding: 0.5em;
		margin-right: 0.5em;

		&:hover, &.current {
			color: #fff;
		}
	}
}

input {
	font-size: 1.4em;
	padding: 0.2em;
	width: 75%;
	max-width: 35em;
}

.mxid {
	display: block;
	margin: 1em auto;
	padding: 1em;
	border-radius: 2em;
	width: max-content;
	font-size: 1.3em;
	color: #1e0036;
	background-color: #ffc700;
	text-decoration: none;

	&:hover {
		color: #fff;
	}
}

select {
	position: absolute;
	bottom: 2em;
	right: 2em;
}