Skip to content

Commit

Permalink
Dev: added responsive padding/margin for larger screens
Browse files Browse the repository at this point in the history
So on large screens the template looks just as it looked before (more of less)
  • Loading branch information
Tammo ter Hark committed Oct 27, 2016
1 parent 88bc48c commit 40ef1a4
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions templates/default/css/template.css
Expand Up @@ -107,18 +107,25 @@ div[id^="question"] {
background-color: #ffffff;
margin-bottom: 1em; }

.question-title-container {
padding-top: 5px;
padding-bottom: 5px;
background: #2C3E50; }

@media (min-width: 769px) {
div[id^="question"] {
margin-bottom: 2em; }
.question-title-container {
padding-top: 15px;
padding-bottom: 15px; } }

.question-help-container .questionhelp {
padding-bottom: 5px;
padding-top: 5px; }

.ls-em-tip {
padding-top: 5px; }

.question-title-container {
padding-top: 5px;
padding-bottom: 5px;
background: #2C3E50; }

.question-answer-container {
border-left: 1px solid #dbdbdb;
border-right: 1px solid #dbdbdb;
Expand Down

1 comment on commit 40ef1a4

@Shnoulle
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

phone 1st 👍

Please sign in to comment.