Ignore:
Timestamp:
Feb 5, 2014, 6:26:30 PM (10 years ago)
Author:
mistic100
Message:

improve display on smartpocket

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/GuestBook/template/style.css

    r20181 r27213  
    11#guestbookAdd {
    22  padding:15px;
    3   width:550px;
     3  max-width:580px;
    44  margin:10px auto 25px auto;
    55  border-radius:5px;
     
    77  box-shadow:5px 5px 5px rgba(0, 0, 0, 0.25);
    88  overflow:hidden;
     9  -moz-box-sizing:border-box;
     10  box-sizing:border-box;
    911}
    1012
     
    1517  font-size:13px;
    1618}
     19
     20/* minimal fluid grid */
     21.contact [class^=col-] {
     22  -moz-box-sizing:border-box;
     23  box-sizing:border-box;
     24  padding:0 2px;
     25}
     26.contact [class^=col-]:not(:last-child) {
     27  margin-bottom:5px;
     28}
     29.contact .col-50 {
     30  float:left;
     31  width:50%;
     32}
     33.contact .col-100 {
     34  width:100%;
     35}
     36@media (max-width:500px) {
     37  .contact .col-50 {
     38    float:none;
     39    width:100%;
     40  }
     41}
    1742 
    18 
    19 .contact table {
    20   width:100%;
    21   text-align:left;
    22 }
    23   .contact table td {
    24     width:50%;
    25     text-align:left;
    26   }
    2743.contact label {
    2844  font-weight:bold;
     
    3349  padding:3px;
    3450}
    35 .contact textarea {
    36   width:535px;
    37 }
    38 .contact input[type="text"] {
    39   width:260px;
     51.contact textarea, .contact input[type="text"] {
     52  -moz-box-sizing:border-box;
     53  box-sizing:border-box;
     54  width:100%;
    4055}
    4156
     
    6681  font-weight:bold;
    6782  font-size:1.1em;
     83}
     84
     85.commentsList {
     86  padding:0;
    6887}
    6988
Note: See TracChangeset for help on using the changeset viewer.