Skip to content

Commit 7141cda

Browse files
authored
CSS changes (#7)
* First CSS Update Added some changes to the background, header and such. NOT COMPLETE YET * Update styles.css * New logo * Delete Color.png * New Lofo * Delete fetchcord.png Replaced by new logo * Add files via upload * Update styles.css * Update styles.css * some font definition changes * mostly font and color changes * Delete fetchcord.png * Add files via upload * Delete fetchcord.png * Add files via upload * Changed shadow style and removed outlines * Delete fetchcord.png * Add files via upload * Update styles.css * Update styles.css * Update index.html * Update index.html * Update styles.css * Update styles.css * Update index.html * Update index.html * made gallery adaptive * Delete favicon.ico * Add files via upload * Update LICENSE.md * Update styles.css * Update styles.css * Update about.html * Update about.html * Update styles.css * changed header to match with css * removed text centering * Update styles.css * Update credits.html * Update credits.html * Update discord.html * Update styles.css * Update styles.css * removed the em parts * Update credits.html * Update about.html * Update discord.html * Update index.html * Update index.html * Update index.html * added vertical lines * Update index.html * Update styles.css * Update index.html * Update styles.css * Update styles.css * Update styles.css * Update index.html * Update styles.css * Update discord.html * Update styles.css * Update about.html * Update credits.html * Update discord.html * Update styles.css * Update linux.html * Update styles.css * Update linux.html * Update credits.html * Update macos.html * Update macos.html * Update windows.html * Delete discord.png * Delete linux.png * Delete macos.png * Delete windows.png * Delete about.png * Update styles.css * Update styles.css * scrolling navbar * logo resize * Update styles.css * Update styles.css * dropdown fixed * Update styles.css * Update styles.css * Update README.md * Update README.md Co-authored-by: too-many-errors <[email protected]>
1 parent eb59ffa commit 7141cda

File tree

1 file changed

+51
-12
lines changed

1 file changed

+51
-12
lines changed

styles.css

Lines changed: 51 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ p {
3434
font-family: 'Roboto';
3535
font-weight: 400;
3636
font-style: normal;
37-
font-size: 20px;
37+
font-size: 18px;
3838
color:#ACB0B9;
3939
text-shadow: 0px -2px 0px rgba(0, 0, 0, 0.25);
4040
}
@@ -51,23 +51,25 @@ body{
5151
animation: fade-and-come-down 1.25s forwards;
5252
}
5353

54+
55+
5456
.header {
5557
background-size: cover;
5658
background-repeat: no-repeat;
5759
background-origin: border-box;
58-
display: grid;
59-
grid-template-columns: 150px auto;
60+
display: flex;
61+
flex-wrap: nowrap;
6062
column-gap: 30px;
6163
place-items: center;
6264
border-bottom-left-radius: 5px;
6365
border-bottom-right-radius: 5px;
6466
overflow: hidden;
65-
padding-top: 20px;
66-
padding-bottom: 20px;
67+
padding: 20px;
6768
background: linear-gradient(180deg, #3B158C 0%, #5C3DE3 100%);
68-
filter: drop-shadow(6px 6px 6px rgba(0, 0, 0, 0.25));
69+
filter: drop-shadow(0px 6px 0px rgba(0, 0, 0, 0.25));
6970
text-shadow: 0px -4px 0px rgba(0, 0, 0, 0.25);
7071
justify-content: center;
72+
align-items: center;
7173
}
7274

7375

@@ -76,10 +78,33 @@ body{
7678
}
7779

7880
.headertxt {
79-
text-align:
80-
left;
81-
float:
82-
right;
81+
text-align:left;
82+
float:right;
83+
}
84+
85+
@media only screen and (max-width: 800px) {
86+
body{
87+
padding-left:35px;
88+
padding-right:35px;
89+
}
90+
.logo {
91+
transform-origin: left;
92+
transform: scale(.7);
93+
width:110px
94+
}
95+
.header {
96+
grid-template-columns: auto auto;
97+
}
98+
}
99+
100+
@media only screen and (max-width: 600px) {
101+
.logo {
102+
display: none;
103+
}
104+
105+
.header {
106+
grid-template-columns: auto;
107+
}
83108
}
84109

85110
.header--home {
@@ -102,9 +127,10 @@ body{
102127
border-top-left-radius: 5px;
103128
border-top-right-radius: 5px;
104129
display: flex;
105-
flex-wrap: nowrap;
130+
/* flex-wrap: nowrap; */
106131
justify-content: space-between;
107132
align-items: center;
133+
overflow-x: scroll;
108134
}
109135

110136
.navbar a {
@@ -137,7 +163,6 @@ body{
137163

138164
.dropdown {
139165
float: right;
140-
overflow: hidden;
141166
font-family: 'Roboto Mono';
142167
}
143168

@@ -151,6 +176,7 @@ body{
151176
background-color: inherit;
152177
font-family: inherit;
153178
margin: 0;
179+
white-space: nowrap;
154180
}
155181

156182
.navbar a:hover, .dropdown:hover .dropbtn {
@@ -170,6 +196,13 @@ body{
170196
border-bottom-left-radius: 5px;
171197
border-bottom-right-radius: 5px;
172198
}
199+
200+
@media only screen and (max-width: 768px) {
201+
.dropdown-content {
202+
margin-left: 0;
203+
right: 75px;
204+
}
205+
}
173206

174207
.dropdown-content a {
175208
float: none;
@@ -324,6 +357,12 @@ body{
324357
}
325358
}
326359

360+
@media only screen and (max-width: 500px) {
361+
.gallery {
362+
grid-template-columns: auto;
363+
}
364+
}
365+
327366
.galleryitem {
328367
float: left;
329368
height: 95%;

0 commit comments

Comments
 (0)