Skip to content

Commit c0741b8

Browse files
Merge pull request #4 from FuckingToasters/main
Update brands.css
2 parents 17ddfce + 46135c5 commit c0741b8

File tree

1 file changed

+17
-4
lines changed

1 file changed

+17
-4
lines changed

brands.css

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
.button {
5050
position: relative;
5151
height: 23px;
52-
background-color:var(--accentColor);
52+
background-color: var(--accentColor);
5353
color: var(--textColor);
5454
border: solid var(--accentColor) 2px;
5555
border-radius: 10px;
@@ -61,12 +61,25 @@
6161
margin-bottom: 10px;
6262
padding: 10px; /* 17px */
6363
text-decoration: none;
64-
width: 500px;
65-
height: 48;
64+
height: auto;
6665
/* transition: all .25s cubic-bezier(.08, .59, .29, .99); */
6766
-webkit-tap-highlight-color: transparent;
6867
}
6968

69+
/* Portrait mode */
70+
@media (orientation: portrait) {
71+
.button {
72+
min-width: 250px;
73+
}
74+
}
75+
76+
/* Landscape mode */
77+
@media (orientation: landscape) {
78+
.button {
79+
min-width: 500px;
80+
}
81+
}
82+
7083
@media (hover: hover) {
7184
.buttonhover {
7285
background-color: var(--accentColor);
@@ -93,4 +106,4 @@
93106
-webkit-filter: invert(100%) grayscale(100%);
94107
-moz-filter: invert(100%) grayscale(100%);
95108
filter: invert(100%) grayscale(100%);
96-
} */
109+
} */

0 commit comments

Comments
 (0)