aboutsummaryrefslogblamecommitdiffstats
path: root/alphabetlearning/static/css/project.css
blob: 7c2bb5a3df11db9ab3704f35491f667c02b2c3da (plain) (tree)
1
2
3
4
5
6
 




                           








                                              

 




                           
                                             










                                    



                       






                     

 












                                   




                                                                

 




                       
                      



                                   

 













                            
 
 


                     

 



                            

 




                                
 












                                   








                                                        


                      

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-size: 18px;
    font-family: Arial, Helvetica, sans-serif;
}

h1, h2, h3 {
    color: #3d3d3d;
}

h1 {
    font-size: 32px;
}

html, body {
    height: 100%;
}

header, nav, main, footer {
    padding: 2px calc((100% - 1200px) / 2) 0;
}

main {
    margin-top: 54px;
    margin-bottom: 54px;
    min-height: calc(100vh - 345px);
    overflow: auto;
}

body {
    line-height: 1.5;
    color: #34495E;
    overflow-y: scroll;
}

a {
    color: blue;
}

nav > div > ul > li {
    display: inline;
    padding: 1px 2px;
}

#resourceTabs {
    display: flex;
    margin: 10px auto;
    justify-content: space-between;
    border-bottom-style: dotted;
    border-bottom-width: 2px;
    padding: 10px;
}

#resourceTabs > li {
    display: inline;
}

.featured-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    padding: 5px;
}

.featured-card {
    border: solid;
    border-width: 2px;
    border-radius: 5px;
    padding: 10px;
    /*height: 560px;*/
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
}

.featured-img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 3px;
    width: 100%;
}

.featured-card-description {
    margin: 10px 0px;
    line-height: 1.1;
    font-size: 0.9em;
}

.card-credit {
    color: green;
    font-size: 0.9em;
}

.add-to-basket-button {
    background-color: green;
    color: white;
    padding: 5px;
}

.add-to-basket-button-disabled {
    background-color: lightgray;
    color: black;
    padding: 3px;
}

.admin-box {
    display: flex;
    background-color: lightgray;
    flex-direction: column;
    justify-content: space-between;
    border-style: solid;
    border-color: black;
    border-width: 2px;
    border-radius: 4px;
    padding: 8px;
    margin: 20px auto;
}

/* Change the colour of the box shadow */
.my-card-shadow-sm {
  box-shadow: 0 0.25rem 0.5rem rgba(100, 100, 100, 0.1);
}

.my-card-shadow-lg {
  box-shadow: 7px 7px 7px rgba(100, 100, 100, 0.5);
}

.card-title a {
    font-size: 1.2rem;
}