-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.scss
More file actions
134 lines (112 loc) · 2.52 KB
/
Copy pathstyles.scss
File metadata and controls
134 lines (112 loc) · 2.52 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
131
132
133
134
$color-fondo: #494949;
$color-texto: #d6d6d6;
// $color-fondo-botones: #757575;
$color-fondo-botones: lighten($color-fondo, 10%);
// $color-fondo-botones-hover: #919090;
$color-fondo-botones-hover: lighten($color-fondo, 20%);
$link-no-visitado: #d6d6d6;
$link-visitado: #d6d6d6;
// $max-width-zoom-out: 2600px;
$mobile-device-width: 768px;
//funcion poner border a los elementos
@mixin border() {
border: lighten($color-fondo, 20%) 3px solid;
border-radius: 5px;
}
.container {
// display: flex;
// justify-content: center;
@include border();
img{
// max-width: $max-width-zoom-out;
width: 100%;
height: auto;
}
}
body{
// max-width: $max-width-zoom-out;
background-color: $color-fondo;
color: $color-texto;
}
/* hace que el mouse se vea como flecha, no como manito */
.not-yet{
cursor: default;
}
header{
display: grid;
grid-template-columns: 2fr 1fr;
grid-template-rows: 1fr 1fr;
grid-template-areas:
"titulo_desc github"
"botones autor";
@media screen and (max-width: $mobile-device-width) {
grid-template-columns: 1fr 1fr 1fr;
grid-template-rows: 1fr 1fr 1fr;
grid-template-areas:
"titulo_desc titulo_desc titulo_desc"
"botones botones github"
"autor autor autor";
overflow: auto;
}
font-size: 1em;
font-family: 'Roboto', sans-serif;
@include border();
padding: 10px;
margin-bottom: 4px;
}
#titulo_desc{
grid-area: titulo_desc;
}
#botones{
grid-area: botones;
justify-self: left;
align-self: end;
}
#github{
grid-area: github;
justify-self: right;
@media screen and (max-width: $mobile-device-width) {
display: none;
}
}
#autor{
grid-area: autor;
justify-self: right;
align-self: end;
@media screen and (max-width: $mobile-device-width) {
justify-self: left;
}
//mostrar todo en una sola linea
white-space: nowrap;
*{
display: inline;
}
}
h4, p{
margin: 0px;
}
a:link{
color: $link-no-visitado;
}
a:visited{
color: $link-visitado;
}
a.button{
appearance: button;
img{
margin: 8px; //para que quede centrado
}
}
#atras, #home, #github, #youtube-video{
background-color: $color-fondo-botones;
border-radius: 50%;
border: 0px;
width: 48px;
height: 48px;
cursor: pointer;
&:hover{
background-color: $color-fondo-botones-hover;
transform: scale(1.1);
transition: all 0.1s linear;
}
}