-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSettings.html
More file actions
130 lines (121 loc) · 4.34 KB
/
Copy pathSettings.html
File metadata and controls
130 lines (121 loc) · 4.34 KB
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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
<!DOCTYPE html>
<html lang="en" data-selected-theme="normal">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Prismoria</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Baloo+Bhaijaan+2:wght@400..800&family=Gabarito:wght@400..900&family=Merriweather+Sans:wght@400;500;600;700;800&family=Spectral:wght@200;300;400;600;700&display=swap" rel="stylesheet">
<link href="http://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.3.0/css/font-awesome.css" rel="stylesheet" type='text/css'>
<script src="https://kit.fontawesome.com/ad096bdfd9.js" crossorigin="anonymous"></script>
<link rel="stylesheet" href="SCSS/Defaults.css">
<style>
.title {
text-align: center;
padding: 1rem 0;
font-size: 2rem;
}
.tab-container {
width: 90%;
margin: auto;
}
input[type='radio'] {
opacity: 0;
margin: auto;
}
input[type='radio'] + label{
margin: 0px -5px;
transition: all 0.3s;
display: inline-flex;
padding: 5px 10px;
text-transform: uppercase;
font-size: 1rem;
border-radius: 10px 10px 0px 0px;
border: var(--c2-0-4) solid;
border-width: 2px 2px 0 2px;
letter-spacing: 0.1rem;
background: linear-gradient(45deg, var(--c2-6-0), var(--c1-6-0));
color: var(--c1-0-8);
font-weight: 600;
cursor: pointer;
position: relative;
}
input[type='radio']:hover + label,
input[type='radio']:checked + label{
background: linear-gradient(45deg, var(--c2-0-6), var(--c1-0-6));
color: var(--c1-8-0);
border-color: var(--c2-4-0);
}
#tab-pref:hover + label,
#tab-pref:checked + label{
color: var(--c2-8-0);
}
input[type='radio'] + label::after{
content: "";
height: 3px;
/* border-radius: 3px; */
width: 100%;
max-width: 0%;
background-color: var(--c1-4-0);
position: absolute;
bottom: 0px;
left: 0px;
z-index: 10;
transition: max-width 0.25s;
}
#tab-acct + label::after{
left: auto;
right: 0px;
}
#tab-pref + label::after{
background-color: var(--c2-4-0);
}
input[type='radio']:checked + label::after{
max-width: 100%;
}
.content .item {
display: none;
}
#tab-acct:checked ~ .content #content-acct,
#tab-pref:checked ~ .content #content-pref {
display: flex;
}
.content {
border-radius: 10px;
border: var(--c2-4-0) solid 2px;
}
</style>
</head>
<body>
<nav>
<div id="nav-bar" class="flex-row">
<img src="Images/PrismaVerse_logo_transparent_white.png" alt="The PrismaVerse logo" id="logo"/>
<a class="icon-btn">Home</a>
<a class="icon-btn">My Spectrums</a>
<a class="icon-btn" href="/Chats4.html">Chats</a>
<img class="user-image" src="./Images/pfp2.jpg" alt="Profile picture">
</div>
</nav>
<main>
<h1 class="title">Settings</h1>
<div class="tab-container">
<input id="tab-acct" type="radio" class="tab" checked="checked" name="tab" />
<label for="tab-acct">Account</label>
<input id="tab-pref" type="radio" class="tab" name="tab" />
<label for="tab-pref">Preferences</label>
<section class="content">
<div class="item flex-c-p" id="content-acct">
<input type="checkbox" id="horns" name="horns" class="not-tab" />
<label for="horns">Horns</label>
</div>
<div class="item" id="content-pref">
</div>
</section>
</div>
</main>
<footer>
</footer>
</body>
</html>