Skip to content

Commit

Permalink
First pass at responsive CSS
Browse files Browse the repository at this point in the history
  • Loading branch information
OllieJC committed Aug 15, 2021
1 parent 28c0674 commit 7310cc1
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 34 deletions.
32 changes: 22 additions & 10 deletions css/main.css → css/main-202108151709.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,23 @@ main {
}

#forkMe {
position:absolute;
top:1em;
right:0;
border:0;
transform: rotateY(0deg) rotate(45deg);
display: none;
}

@media only screen and (max-width: 790px) {
main {
display: block !important;
}
.vertical-divider {
display: none;
}
.tbat-menu {
width: 100% !important;
display: block !important;
}
.tbat-menu-fixed {
position: relative !important;
}
}

.tbat-menu {
Expand All @@ -30,7 +42,7 @@ main {
.main-window {
width: 100%;
min-height: 100vh;
padding: 2em 2em 0 3em;
padding: 2em 2em 2em 3em;
}

.window-active {
Expand Down Expand Up @@ -204,10 +216,6 @@ select.form-novelty {

.dropdown-toggle { outline: 0; }

#window-threatactorlibrary button {
margin-right: 1em;
}

.aps-badge {
margin-left: 1em;
}
Expand All @@ -224,6 +232,10 @@ select.form-novelty {
display: none;
}

.btn {
margin: 0.3em 1em 0.3em 0;
}

.btn-toggle {
display: inline-flex;
align-items: center;
Expand Down
26 changes: 2 additions & 24 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,30 +7,8 @@
<meta name="author" content="OllieJC">
<title>Threat Box Assessment Tool</title>



<!-- Bootstrap core CSS -->
<link href="css/bootstrap.min.css" rel="stylesheet">

<style>
.bd-placeholder-img {
font-size: 1.125rem;
text-anchor: middle;
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
}

@media (min-width: 768px) {
.bd-placeholder-img-lg {
font-size: 3.5rem;
}
}
</style>


<!-- Custom styles for this template -->
<link href="css/main.css" rel="stylesheet">
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/main-202108151709.css" rel="stylesheet">
</head>
<body>

Expand Down

0 comments on commit 7310cc1

Please sign in to comment.