-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Showing
3 changed files
with
62 additions
and
16 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,42 @@ | ||
/* custom CSS for ArduPilot wiki */ | ||
|
||
/* Table in user alerts page */ | ||
table.useralerts-table td { | ||
white-space: normal; | ||
/* CSS for Partners logo list */ | ||
table.partners-table { | ||
width: 100%; | ||
} | ||
|
||
table.partners-table img { | ||
width: 100% !important; | ||
height: 100% !important; | ||
object-fit: contain; | ||
} | ||
|
||
table.partners-table td { | ||
background-color: #fff !important; | ||
height: 15vw; | ||
} | ||
|
||
@media screen and (min-width: 1660px) { | ||
table.partners-table td { | ||
height: 250px; | ||
} | ||
} | ||
|
||
@media screen and (max-width: 600px) { | ||
table.partners-table td { | ||
width: 100%; | ||
display: block; | ||
height: 20vw; | ||
border: 1px solid #e1e4e5 !important; | ||
} | ||
|
||
table.partners-table, table.partners-table tbody { | ||
display: block; | ||
} | ||
} | ||
|
||
/* wiki top menu makes anchor links disappear under it, this hack fixes it */ | ||
.section { | ||
padding-top: 40px; | ||
margin-top: -40px; | ||
} |