-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f5e7c53
commit cb43aae
Showing
14 changed files
with
402 additions
and
314 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
129 changes: 29 additions & 100 deletions
129
social-network/src/assets/styles/components/layout/layout.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,100 +1,29 @@ | ||
.main-content { | ||
margin-left: 250px; | ||
padding: 20px; | ||
width: calc(100% - 250px); | ||
box-sizing: border-box; | ||
} | ||
|
||
.post-input { | ||
display: flex; | ||
align-items: center; | ||
margin-bottom: 20px; | ||
} | ||
|
||
.post-input input { | ||
flex-grow: 1; | ||
padding: 10px; | ||
border: 1px solid #ddd; | ||
border-radius: 20px; | ||
margin-right: 10px; | ||
} | ||
|
||
.post-input button { | ||
background-color: #ff69b4; | ||
color: white; | ||
border: none; | ||
padding: 10px 20px; | ||
border-radius: 20px; | ||
cursor: pointer; | ||
} | ||
|
||
.post-input button:hover { | ||
background-color: #ff4081; | ||
} | ||
|
||
.post { | ||
background-color: #fff; | ||
padding: 20px; | ||
border-radius: 8px; | ||
margin-bottom: 20px; | ||
box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.1); | ||
} | ||
|
||
.user-info { | ||
display: flex; | ||
align-items: center; | ||
margin-bottom: 10px; | ||
} | ||
|
||
.user-avatar { | ||
width: 40px; | ||
height: 40px; | ||
background-color: #ddd; | ||
border-radius: 50%; | ||
margin-right: 10px; | ||
} | ||
|
||
.user-name { | ||
font-weight: bold; | ||
margin-right: 10px; | ||
} | ||
|
||
.post-time { | ||
color: #888; | ||
} | ||
|
||
.post-content { | ||
margin-bottom: 10px; | ||
} | ||
|
||
.hashtags { | ||
color: #ff6347; | ||
} | ||
|
||
.post-image-placeholder { | ||
width: 100%; | ||
height: 200px; | ||
background-color: #f0f0f0; | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
margin-bottom: 10px; | ||
} | ||
|
||
.post-actions { | ||
display: flex; | ||
justify-content: space-around; | ||
} | ||
|
||
.post-actions button { | ||
background: none; | ||
border: none; | ||
color: #888; | ||
cursor: pointer; | ||
font-weight: bold; | ||
} | ||
|
||
.post-actions button:hover { | ||
color: #ff4081; | ||
} | ||
|
||
|
||
* { | ||
margin: 0; | ||
padding: 0; | ||
box-sizing: border-box; | ||
} | ||
|
||
|
||
|
||
.sidebar { | ||
width: 250px; | ||
padding: 20px; | ||
position: fixed; /* Fija la sidebar */ | ||
height: 100%; | ||
box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1); | ||
} | ||
|
||
|
||
main { | ||
margin-left: 250px; /* Compensar el ancho de la sidebar */ | ||
padding: 20px; | ||
background-color: transparent; /* Mantener el fondo transparente */ | ||
min-height: 100vh; /* Altura mínima del contenedor */ | ||
} | ||
|
||
|
||
.layout { | ||
background: none; /* Elimina cualquier fondo adicional */ | ||
} |
63 changes: 63 additions & 0 deletions
63
social-network/src/assets/styles/components/layout/postInput.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
.main-content { | ||
margin-left: 250px; /* Mantiene el margen a la izquierda para el sidebar */ | ||
padding: 80px 20px 20px; /* Añade padding superior para distanciar del header */ | ||
width: calc(100% - 250px); | ||
max-width: 1200px; | ||
box-sizing: border-box; | ||
} | ||
|
||
.post-input { | ||
display: flex; | ||
align-items: center; | ||
margin-bottom: 20px; | ||
width: 100%; | ||
max-width: 900px; | ||
margin: 0 auto 20px; | ||
} | ||
|
||
.post-input input { | ||
flex-grow: 1; | ||
width: 85%; | ||
padding: 10px; | ||
border: 1px solid #ddd; | ||
border-radius: 20px; | ||
margin-right: 10px; | ||
font-size: 16px; | ||
} | ||
|
||
.post-input button { | ||
background-color: #ff69b4; | ||
color: white; | ||
border: none; | ||
padding: 10px 30px; | ||
border-radius: 20px; | ||
cursor: pointer; | ||
font-size: 16px; | ||
} | ||
|
||
.post-input button:hover { | ||
background-color: #ff4081; | ||
} | ||
|
||
/* Media queries para pantallas más pequeñas */ | ||
@media (max-width: 768px) { | ||
.main-content { | ||
margin-left: 0; | ||
width: 100%; | ||
padding: 60px 20px 20px; | ||
} | ||
|
||
.post-input { | ||
flex-direction: column; | ||
align-items: stretch; | ||
} | ||
|
||
.post-input input { | ||
margin-right: 0; | ||
margin-bottom: 10px; | ||
} | ||
|
||
.post-input button { | ||
width: 100%; | ||
} | ||
} |
Oops, something went wrong.