generated from lunaiwa/A.A.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
156 lines (146 loc) · 2.94 KB
/
index.css
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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
/*I NEED TO ORGANIZE LATER*/
/*IPHONE VIEW*/
@media(max-width: 700px){
.text-box h1{
font-size: 20px;
}
.nav-links ul li{
display: block;
}
}
/*iphone view*/
@media(max-width: 700px){
.text-box h1{
font-size: 20px;
}
.nav-links ul li{
display: block;
}
}
*{
margin: 0;
padding: 0;
font-family: ravioli;
/*can be applied to all of the html elements*/
/*FIX THE FONT FAMILY TO THE REAL ONE OR CHOSEN ONE*/
/*the second part of the font from google!!*/
}
/*BACKGROUND colors and images*/
.header{
min-height: 10vh;
width: 100%;
/*linear gradient is how the background goes from the pink to the purple*/
background-color: #e5e5e5;
background-position: center;
background-size: cover;
position: relative;
font-family: ravioli;
}
.index-header{
width: 100%;
margin: auto;
text-align: center;
padding-top: 200px;
padding-bottom: 360px;
/*linear gradient is how the background goes from the pink to the purple*/
background-position: center;
background-size: cover;
position: relative;
color: #FF5733;
font-family: ravioli;
}
/*this will align the different buttons (home, inventory, ect.)*/
nav{
display: flex;
padding: 2% 6%;
justify-content: space-between;
align-items: center;
font-family: ravioli;
}
nav img{
width: 150px;
}
/*fixing the size of the logo*/
.nav-links{
flex: 1;
text-align: right;
}
/*the ul and li are basically the list/buttons on the top of the page*/
.nav-links ul li{
list-style: none;
display: inline-block;
padding: 8px 12px;
position: relative;
font-family: ravioli;
}
/*color and removing the underlining of buttons aka the animation :)*/
.nav-links ul li a{
color: #FF5733;
text-decoration: none;
font-size: 25px;
font-family: ravioli;
}
/*underline for the buttons*/
.nav-links ul li::after{
content: '';
width: 0%;
height: 5px;
background: #4CAF50;
display: block;
margin: auto;
transition: 0.5s;
}
/*the button underline is only seen with cursor on it*/
.nav-links ul li:hover::after{
width: 100%;
}
/*to make the text into the center of the website*/
/*Fonts using DaFont*/
@font-face {
font-family: ravioli;
src: url("ravioli.ttf");
}
@font-face {
font-family: nexa;
src: url("nexa.ttf");
}
/*Profile cards*/
.name{
width: 90%;
margin: auto;
text-align: center;
padding-top: 20px;
color: #FF5733;
}
p1{
color: #FFC107;
font-size: 30px;
font-weight: 300;
line-height: 22px;
padding: 10px;
text-align: center;
font-family: ravioli;
}
.row{
margin-top: 5%;
display: flex;
justify-content: space-evenly;
}
/*box around descriptions*/
.name-col{
background: #fff6db;
border-radius: 10px;
margin-bottom: 5%;
padding: 20px 12px;
box-sizing: border-box;
}
h3{
text-align: center;
font-weight: 600;
margin: 10px;
color: #FF5733;
}
/*hover effect*/
.name-col:hover{
box-shadow: 0 0 30px rgba(255, 0, 0, 0.2);
}