Skip to content

Commit 144b844

Browse files
committed
organize css
1 parent ff810c9 commit 144b844

File tree

2 files changed

+57
-46
lines changed

2 files changed

+57
-46
lines changed

index.html

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,9 @@ <h2 id="presentation-main-skill">I'm an <br class='br-show'>full-stack engineer<
5858
<section>
5959
<article id="work">
6060
<h2 class="subtitle reveal">These are my github repositories:</h2>
61+
<div class="card-project">
62+
63+
</div>
6164
<ul>
6265
<li class="reveal">
6366
<p><a class="work-link" href="https://github.com/CarlosJorgeR/openEcommerce" target="_blank"
@@ -77,10 +80,10 @@ <h2 class="subtitle reveal">These are my github repositories:</h2>
7780
<div id="contact" class="contacts reveal">
7881
<h1 class="subtitle contacts-item">Contact</h1>
7982
<div class="contacts-item">
80-
<a href="mailto:rodriguezcuelloc@gmail.com"><i class="fab fa-google fa-2xl"></i></a>
81-
<a href="https://github.com/CarlosJorgeR"><i class="fab fa-github fa-2xl"></i></a>
82-
<a href="https://www.linkedin.com/in/cjrcuello/"><i class="fab fa-linkedin fa-2xl"></i></a>
83-
<a href="https://twitter.com/CarlosJorgeRod3"><i class="fab fa-twitter fa-2xl"></i></a>
83+
<a class="icon-link" href="mailto:rodriguezcuelloc@gmail.com"><i class="fab fa-google fa-2xl"></i></a>
84+
<a class="icon-link" href="https://github.com/CarlosJorgeR"><i class="fab fa-github fa-2xl"></i></a>
85+
<a class="icon-link" href="https://www.linkedin.com/in/cjrcuello/"><i class="fab fa-linkedin fa-2xl"></i></a>
86+
<a class="icon-link" href="https://twitter.com/CarlosJorgeRod3"><i class="fab fa-twitter fa-2xl"></i></a>
8487
</div>
8588
</div>
8689
</article>

styles.css

Lines changed: 50 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
scroll-behavior: smooth;
77
}
88

9+
/* || GENERAL STYLES */
910
body {
1011
margin: 0;
1112
}
@@ -54,20 +55,6 @@ article {
5455
padding: 2.5em;
5556
}
5657

57-
.footer {
58-
color: var(--default-font-color);
59-
font-family: var(--default-font-family);
60-
display: flex;
61-
flex-direction: column;
62-
justify-content: center;
63-
64-
}
65-
66-
.footer-item {
67-
margin: 0 auto;
68-
text-align: center;
69-
}
70-
7158
ul {
7259
list-style-type: circle;
7360
}
@@ -84,6 +71,49 @@ i {
8471
color: aqua;
8572
}
8673

74+
nav {
75+
position: fixed;
76+
top: 0;
77+
width: 100%;
78+
z-index: 9999;
79+
background-color: rgba(9, 3, 15, 0.9);
80+
81+
}
82+
83+
/* || UTILITIES */
84+
85+
.reveal {
86+
opacity: 0;
87+
transition: all 1s ease-in;
88+
transform: translate(0vh, 3vh);
89+
}
90+
91+
.reveal.active {
92+
opacity: 1;
93+
transform: translate(0vh, 0vh);
94+
}
95+
96+
.br-show {
97+
display: none;
98+
}
99+
100+
101+
/* || SITEWIDE */
102+
103+
.footer {
104+
color: var(--default-font-color);
105+
font-family: var(--default-font-family);
106+
display: flex;
107+
flex-direction: column;
108+
justify-content: center;
109+
110+
}
111+
112+
.footer-item {
113+
margin: 0 auto;
114+
text-align: center;
115+
}
116+
87117
/* Classes */
88118
.presentation {
89119
color: rgb(148, 112, 220);
@@ -110,17 +140,7 @@ i {
110140
text-align: center;
111141
}
112142

113-
.reveal {
114-
opacity: 0;
115-
transition: all 1s ease-in;
116-
transform: translate(0vh, 3vh);
117-
}
118143

119-
.reveal.active {
120-
opacity: 1;
121-
transform: translate(0vh, 0vh);
122-
123-
}
124144

125145
/* Ids */
126146
#presentation-title {
@@ -194,34 +214,20 @@ i {
194214
}
195215

196216
/* selected link */
197-
a:link:has(i) {
217+
.icon-link{
198218
background-image: none;
199219
}
200220

201-
a:link>i {
221+
.icon-link:link>i {
202222
background-size: 100% 100%;
203223
transition: all 0.5s ease-in-out;
204-
205224
}
206225

207-
a:hover>i {
226+
.icon-link:hover>i {
208227
color: black;
209228
text-shadow: 0px 0px 15px aqua;
210229
}
211230

212-
.br-show {
213-
display: none;
214-
}
215-
216-
nav {
217-
position: fixed;
218-
top: 0;
219-
width: 100%;
220-
z-index: 9999;
221-
background-color: rgba(9, 3, 15, 0.9);
222-
223-
}
224-
225231
.menu {
226232
padding: 0.5em;
227233
display: flex;
@@ -253,9 +259,11 @@ nav {
253259
text-decoration: none;
254260
background-image: none;
255261
}
256-
.menu{
262+
263+
.menu {
257264
margin: 0;
258265
}
266+
259267
.menu>li {
260268
align-self: center;
261269
}

0 commit comments

Comments
 (0)