"سانچہ:BoxTemplate" کے نسخوں کے درمیان فرق

Shahidlogs سے
کوئی خلاصۂ ترمیم نہیں
کوئی خلاصۂ ترمیم نہیں
 
سطر 1: سطر 1:
<div class="front-page-box">
<includeonly>
  <div class="front-page-box-title">{{{title}}}</div>
<div class="form-input">
  <div class="front-page-box-content">{{{content}}}</div>
    {{#forminput:form=YourFormName|size=30|button text=Create Page}}
</div>
</div>
/* Add background color and styling to the front-page-box */
</includeonly>
.front-page-box {
<noinclude>
  background-color: #f0f0f0; /* Change this to your desired background color */
This is a template for creating pages using a form.
  border: 2px solid #ccc;
</noinclude>
  padding: 20px;
 
  margin: 10px;
<style>
  border-radius: 10px;
/* Add CSS styling for the form input */
.form-input {
    margin: 10px 0;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
}
}


/* Style the title */
/* Style the button */
.front-page-box-title {
.form-input input[type="submit"] {
  font-weight: bold;
    background-color: #0073e6;
  font-size: 18px;
    color: #fff;
  margin-bottom: 10px;
    padding: 5px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
}


/* Style the content */
/* Hover effect for the button */
.front-page-box-content {
.form-input input[type="submit"]:hover {
  font-size: 16px;
    background-color: #005bb5;
}
}
</style>

حالیہ نسخہ بمطابق 23:08، 30 ستمبر 2023ء


This is a template for creating pages using a form.


<style> /* Add CSS styling for the form input */ .form-input {

   margin: 10px 0;
   padding: 10px;
   border: 1px solid #ccc;
   border-radius: 5px;
   background-color: #f9f9f9;

}

/* Style the button */ .form-input input[type="submit"] {

   background-color: #0073e6;
   color: #fff;
   padding: 5px 15px;
   border: none;
   border-radius: 5px;
   cursor: pointer;

}

/* Hover effect for the button */ .form-input input[type="submit"]:hover {

   background-color: #005bb5;

} </style>