-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathstyle.css
More file actions
169 lines (153 loc) · 2.19 KB
/
Copy pathstyle.css
File metadata and controls
169 lines (153 loc) · 2.19 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
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
body {
margin: 0;
font-family: "Ubuntu", sans-serif;
}
header h1 {
font-weight: 800;
}
.bear_pic {
height: 100%;
position: absolute;
left: 0;
}
.input {
border-radius: 8px 0 0 8px;
border: 0.1px solid;
border-color: grey;
border-right: 0;
padding: 1rem;
flex: 1;
}
.input:focus {
outline: none;
border-color: #0098ff;
}
.button {
border: 0;
border-radius: 0 8px 8px 0;
color: white;
background-color: #0098ff;
padding: 1rem 2rem;
}
.card {
border: 1px solid grey;
border-radius: 8px;
padding: 1.5rem 2.5rem;
}
.card:hover {
box-shadow: 0px 0px 8px grey;
transform: scale(1.03);
}
.footer-card {
display: flex;
gap: 1rem;
}
.repo-cards {
padding: 0;
display: grid;
gap: 1rem;
grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
}
.button:hover {
background-color: #0b1b44;
cursor: pointer;
}
.form-search {
display: flex;
margin-bottom: 4rem;
}
.container {
max-width: 75rem;
margin-inline: auto;
padding: 3rem 2rem;
position: relative;
width: 100%;
z-index: 1;
}
header {
display: flex;
background-color: #0b1b44;
color: white;
align-items: center;
position: relative;
}
@media only screen and (max-width: 1400px) {
header {
flex-direction: row-reverse;
justify-content: left;
}
.bear_pic {
left: auto;
right: 0;
-webkit-transform: scaleX(-1);
transform: scaleX(-1);
}
}
ul {
list-style: none;
margin: 0;
padding: 0;
}
/* Reset https://www.joshwcomeau.com/css/custom-css-reset/ */
/*
1. Use a more-intuitive box-sizing model.
*/
*,
*::before,
*::after {
box-sizing: border-box;
}
/*
2. Remove default margin
*/
* {
margin: 0;
}
/*
3. Allow percentage-based heights in the application
*/
html,
body {
height: 100%;
}
/*
Typographic tweaks!
4. Add accessible line-height
5. Improve text rendering
*/
body {
line-height: 1.5;
-webkit-font-smoothing: antialiased;
}
/*
6. Improve media defaults
*/
img,
picture,
video,
canvas,
svg {
display: block;
max-width: 100%;
}
/*
7. Remove built-in form typography styles
*/
input,
button,
textarea,
select {
font: inherit;
}
/*
8. Avoid text overflows
*/
p,
h1,
h2,
h3,
h4,
h5,
h6 {
overflow-wrap: break-word;
}